Property | Type | Description | |
---|---|---|---|
$namespace | string | null | ||
$router | Autarky\Routing\RouterInterface | ||
$routes | array |
Method | Description | |
---|---|---|
__construct ( Autarky\Routing\RouterInterface $router, array $routes, string | null $namespace = null ) | ||
merge ( array $routes ) : void | Merge more routes into the configuration. | |
mount ( string | null $prefix = null ) : void | Mount the configuration. | |
override ( string $name, array $routeData ) : void | Override an existing route. |
Method | Description | |
---|---|---|
registerRoute ( $route, $name ) | ||
registerRoutes ( ) |
protected RouterInterface,Autarky\Routing $router | ||
return | Autarky\Routing\RouterInterface |