Zend\Mvc\Router\Http\Regex
Regex route.
Synopsis
class Regex
implements
RouteInterface
{
- // members
- protected string $regex;
- protected array $defaults;
- protected string $spec;
- protected array $assembledParams;
- // methods
- public void __construct()
- public static Regex factory()
- public RouteMatch|null match()
- public mixed assemble()
- public array getAssembledParams()
Hierarchy
Implements
Members
protected
- $assembledParams
—
array
List of assembled parameters. - $defaults
—
array
Default values. - $regex
—
string
Regex to match. - $spec
—
string
Specification for URL assembly.
Methods
public
- __construct() — Create a new regex route.
- assemble() — assemble(): Defined by RouteInterface interface.
- factory() — factory(): defined by RouteInterface interface.
- getAssembledParams() — getAssembledParams(): defined by RouteInterface interface.
- match() — match(): defined by RouteInterface interface.