Method |
Description |
|
getActionName ( ) : string |
Returns the processed action name |
|
getControllerName ( ) : string |
Returns the processed controller name |
|
getModuleName ( ) : string |
Returns the processed module name |
|
getModules ( ) : array |
|
|
getParams ( ) : array |
Returns the processed parameters |
|
getRewriteUri ( ) : string |
Get rewrite info. This info is read from $_GET['_url'] or _SERVER["REQUEST_URI"]. |
|
handle ( string $uri = null, string $host = null, boolean $silent = true ) : boolean |
Handles routing information received from the rewrite engine |
|
mount ( string | ManaPHP\Mvc\Router\GroupInterface $group, string $path = null ) : static |
Mounts a group of routes in the router |
|
removeExtraSlashes ( boolean $remove ) : static |
Set whether router must remove the extra slashes in the handled routes |
|
wasMatched ( ) : boolean |
Checks if the router matches any of the defined routes |
|