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

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