Zend Framework
3.0
|
RouteInterface match. More...
Public Member Functions | |
__construct (array $params) | |
Create a RouteMatch with given parameters. | |
setMatchedRouteName ($name) | |
Set name of matched route. | |
getMatchedRouteName () | |
Get name of matched route. | |
setParam ($name, $value) | |
Set a parameter. | |
getParams () | |
Get all parameters. | |
getParam ($name, $default=null) | |
Get a specific parameter. | |
Protected Attributes | |
$params = [] | |
$matchedRouteName | |
RouteInterface match.
__construct | ( | array | $params | ) |
Create a RouteMatch with given parameters.
array | $params |
getMatchedRouteName | ( | ) |
Get name of matched route.
getParam | ( | $name, | |
$default = null |
|||
) |
Get a specific parameter.
string | $name | |
mixed | $default |
getParams | ( | ) |
Get all parameters.
setMatchedRouteName | ( | $name | ) |
setParam | ( | $name, | |
$value | |||
) |
|
protected |
|
protected |