Метод |
Описание |
|
getActionName ( ) : string |
Returns processed action name |
|
getControllerName ( ) : string |
Returns processed controller name |
|
getModuleName ( ) : string |
Returns processed module name |
|
getModules ( ) : array |
|
|
getParams ( ) : array |
Returns processed extra params |
|
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 |
Check if the router matches any of the defined routes |
|