Zend\Mvc\Router\RouteMatch
RouteInterface match.
Synopsis
class RouteMatch
{
- // members
- protected array $params;
- protected string $matchedRouteName;
- // methods
- public void __construct()
- public RouteMatch setMatchedRouteName()
- public string getMatchedRouteName()
- public RouteMatch setParam()
- public array getParams()
- public mixed getParam()
Hierarchy
Members
protected
- $matchedRouteName
—
string
Matched route name. - $params
—
array
Match parameters.
Methods
public
- __construct() — Create a RouteMatch with given parameters.
- getMatchedRouteName() — Get name of matched route.
- getParam() — Get a specific parameter.
- getParams() — Get all parameters.
- setMatchedRouteName() — Set name of matched route.
- setParam() — Set a parameter.