function build(Container $container)
    {
        if (! $container instanceof Container )
            throw new \Exception(sprintf(
                'Container must instanceof "ContainerManager", you given "%s".'
                , (is_object($container)) ? get_class($container) : gettype($container)
            ));

        // ORDER IS MANDATORY

        // Namespace:
        $this->_buildNamespace($container);

        // Interfaces:
        $this->_buildImplementation($container);

        // Initializer:
        // maybe used while Creating Services
        $this->_buildInitializer($container);

        // Nested:
        $this->_buildNested($container);

        // Aliases:
        $this->_buildExtend($container);

        // Service:
        $this->_buildService($container);
    }
function build(Container $container)
    {
        if (! $container instanceof Container )
            throw new \Exception(sprintf(
                'Container must instanceof "ContainerManager", you given "%s".'
                , (is_object($container)) ? get_class($container) : gettype($container)
            ));

        // ORDER IS MANDATORY

        // Namespace:
        $this->_buildNamespace($container);

        // Interfaces:
        $this->_buildImplementation($container);

        // Initializer:
        // maybe used while Creating Services
        $this->_buildInitializer($container);

        // Nested:
        $this->_buildNested($container);

        // Aliases:
        $this->_buildExtend($container);

        // Service:
        $this->_buildService($container);
    }
function build ( Container $ container ) { if ( ! $ container instanceof Container ) throw new \ Exception ( sprintf ( 'Container must instanceof "ContainerManager", you given "%s".' , ( is_object ( $ container ) ) ? get_class ( $ container ) : gettype ( $ container ) ) ) ; // ORDER IS MANDATORY // Namespace: $ this -> _buildNamespace ( $ container ) ; // Interfaces: $ this -> _buildImplementation ( $ container ) ; // Initializer: // maybe used while Creating Services $ this -> _buildInitializer ( $ container ) ; // Nested: $ this -> _buildNested ( $ container ) ; // Aliases: $ this -> _buildExtend ( $ container ) ; // Service: $ this -> _buildService ( $ container ) ; }
Configure container manager

@param Container $container

@throws \Exception
@return void
Configure container manager