Method |
Description |
|
__construct ( luya\web\Request $request, luya\web\UrlManager $urlManager, array $config = [] ) |
Class constructor in order to consum from DI Container. |
|
defaultRoute ( string $controller, string $action = null, array $args = [] ) |
Inject a defaultRoute. |
|
getModule ( ) : Module |
Getter for the module property. |
|
getRequestRoute ( ) : array |
Determine the default route based on current defaultRoutes or parsedRequested by the UrlManager. |
|
getSuffix ( ) : string |
Getter for the suffix property. |
|
getUrlRule ( ) : array |
Returns the url rule parameters which are taken from the requested route. |
|
init ( ) |
|
|
run ( ) : string | Response |
Run the route based on the values. |
|
setModule ( Module $module ) |
Setter for the module property. |
|
setSuffix ( string $suffix ) |
Setter for the suffix property. |
|