src/ModuleManager.php
public function register()
    {
        foreach ($this->modules as $module) {
            if ($aggregator = $module->getAttribute('aggregator')) {
                $this->container->register($aggregator);
            }
        }

        return $this;
    }
public function register()
    {
        foreach ($this->modules as $module) {
            if ($aggregator = $module->getAttribute('aggregator')) {
                $this->container->register($aggregator);
            }
        }

        return $this;
    }
public function register ( ) { foreach ( $ this -> modules as $ module ) { if ( $ aggregator = $ module -> getAttribute ( 'aggregator' ) ) { $ this -> container -> register ( $ aggregator ) ; } } return $ this ; }
Register modules with service container.

@return $this
Register modules with service container .