Method route.
Methods
Create a new method route.
__construct(string $verb, array $defaults)
Parameters
$verb
string
$defaults
array
assemble(): Defined by RouteInterface interface.
assemble(array $params, array $options) : mixed
see |
\Zend\Mvc\Router\RouteInterface::assemble() |
Parameters
$params
array
$options
array
Returns
mixed
factory(): defined by RouteInterface interface.
factory(array | \Traversable $options) : \Zend\Mvc\Router\Http\Method
see |
\Zend\Mvc\Router\RouteInterface::factory() |
Parameters
$options
array\Traversable
Exceptions
Returns
getAssembledParams(): defined by RouteInterface interface.
getAssembledParams() : array
see |
\Zend\Mvc\Router\Http\RouteInterface::getAssembledParams |
Returns
array
match(): defined by RouteInterface interface.
match(\Zend\Stdlib\RequestInterface $request) : \Zend\Mvc\Router\Http\RouteMatch | null
see |
\Zend\Mvc\Router\RouteInterface::match() |
Parameters
Returns
Properties
Default values.
$defaults : array
Verb to match.
$verb : string