Zend\Mvc\Router\Http\RouteMatch
Part route match.
Synopsis
class RouteMatch
extends RouteMatch
{
- // members
- protected int $length;
- // Inherited members from RouteMatch
- protected array $params;
- protected string $matchedRouteName;
- // methods
- public void __construct()
- public RouteMatch setMatchedRouteName()
- public RouteMatch merge()
- public int getLength()
- // Inherited methods from RouteMatch
- public void __construct()
- public RouteMatch setMatchedRouteName()
- public string getMatchedRouteName()
- public RouteMatch setParam()
- public array getParams()
- public mixed getParam()
Hierarchy
Extends
Members
protected
- $length
—
int
Length of the matched path. - $matchedRouteName
—
string
Matched route name. - $params
—
array
Match parameters.
Methods
public
- __construct() — Create a part RouteMatch with given parameters and length.
- getLength() — Get the matched path length.
- merge() — Merge parameters from another match.
- setMatchedRouteName() — setMatchedRouteName(): defined by BaseRouteMatch.
Inherited from Zend\Mvc\Router\RouteMatch
public
- 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.