src/Application.php
public final function initialiseModules()
    {
        foreach ($this->modules as $module) {
            $module->initialiseModule();
        }

        // Initialise the application 'module' itself.
        $this->initialiseModule();

        $handlers = [];
        foreach ($this->modules as $module) {
            $handlers[] = $module->getUrlHandlers();
        }

        $this->rootHandlers = $this->filterUrlHandlers($handlers);
    }
public final function initialiseModules()
    {
        foreach ($this->modules as $module) {
            $module->initialiseModule();
        }

        // Initialise the application 'module' itself.
        $this->initialiseModule();

        $handlers = [];
        foreach ($this->modules as $module) {
            $handlers[] = $module->getUrlHandlers();
        }

        $this->rootHandlers = $this->filterUrlHandlers($handlers);
    }
public final function initialiseModules ( ) { foreach ( $ this -> modules as $ module ) { $ module -> initialiseModule ( ) ; } // Initialise the application 'module' itself. $ this -> initialiseModule ( ) ; $ handlers = [ ] ; foreach ( $ this -> modules as $ module ) { $ handlers [ ] = $ module -> getUrlHandlers ( ) ; } $ this -> rootHandlers = $ this -> filterUrlHandlers ( $ handlers ) ; }
Asks all modules to initialise.

Called automatically when processing requests.
Asks all modules to initialise .