| Fully Qualified Name: | Laminas\Router\RouteMatch |
RouteInterface match.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Create a RouteMatch with given parameters. | RouteMatch |
| getMatchedRouteName() | Get name of matched route. | RouteMatch |
| getParam() | Get a specific parameter. | RouteMatch |
| getParams() | Get all parameters. | RouteMatch |
| setMatchedRouteName() | Set name of matched route. | RouteMatch |
| setParam() | Set a parameter. | RouteMatch |
Create a RouteMatch with given parameters.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array |
Returns:
Get name of matched route.
Returns: string
Get a specific parameter.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $default | mixed |
Returns: mixed
Get all parameters.
Returns: array
Set name of matched route.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: \RouteMatch
Set a parameter.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | mixed |
Returns: \RouteMatch