RouteInterface match.

package Zend_Mvc_Router

 Methods

Create a RouteMatch with given parameters.

__construct(array $params) 

Parameters

$params

array

Get name of matched route.

getMatchedRouteName() : string

Returns

string

Get a specific parameter.

getParam(string $name, mixed $default) : mixed

Parameters

$name

string

$default

mixed

Returns

mixed

Get all parameters.

getParams() : array

Returns

array

Set name of matched route.

setMatchedRouteName(string $name) : \Zend\Mvc\Router\RouteMatch

Parameters

$name

string

Returns

Set a parameter.

setParam(string $name, mixed $value) : \Zend\Mvc\Router\RouteMatch

Parameters

$name

string

$value

mixed

Returns

 Properties

 

Matched route name.

$matchedRouteName : string

 

Match parameters.

$params : array