Zend\Console\RouteMatcher\DefaultRouteMatcher
Synopsis
class DefaultRouteMatcher
implements
RouteMatcherInterface
{
- // members
- protected array $parts;
- protected array $defaults;
- protected array $aliases;
- protected array $validators;
- protected array $filters;
- // methods
- public void __construct()
- protected array parseDefinition()
- private string getAliases()
- private string getCanonicalName()
- public array|null match()
Hierarchy
Members
protected
- $aliases
—
array
Parameters' name aliases. - $defaults
—
array
Default values. - $filters — array
- $parts
—
array
Parts of the route. - $validators — array
Methods
private
- getAliases() — Returns list of names representing single parameter
- getCanonicalName() — Returns canonical name of a parameter
protected
- parseDefinition() — Parse a route definition.
public
- __construct() — Class constructor
- match() — Match parameters against route passed to constructor