Method route.

package Default

 Methods

Create a new method route.

__construct(string $verb, array $defaults = array()

Parameters

$verb

string

$defaults

array

assemble(): Defined by RouteInterface interface.

assemble(array $params = array(), array $options = array()) : mixed
see

Parameters

$params

array

$options

array

Returns

mixed

factory(): defined by RouteInterface interface.

factory(array|\Traversable $options = array()) : \Zend\Mvc\Router\Http\Method
Static
see

Parameters

$options

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

Returns

\Zend\Mvc\Router\Http\Method

getAssembledParams(): defined by RouteInterface interface.

getAssembledParams() : array
see
inherited_from \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

Parameters

$request

\Zend\Stdlib\RequestInterface

Returns

\Zend\Mvc\Router\Http\RouteMatchnull

 Properties

 

Default values.

$defaults : array

Default

 

Verb to match.

$verb : string

Default