src/Modules/ModuleManager.php
public function mapWebRoutes(Router $router)
    {
        foreach ($this->modules as $module) {
            $module->mapWebRoutes($router);
        }
    }
public function mapWebRoutes(Router $router)
    {
        foreach ($this->modules as $module) {
            $module->mapWebRoutes($router);
        }
    }
public function mapWebRoutes ( Router $ router ) { foreach ( $ this -> modules as $ module ) { $ module -> mapWebRoutes ( $ router ) ; } }
Builds routes for all modules given a router as context.

@param Router $router
Builds routes for all modules given a router as context .