Scheme route.

 Methods

Create a new scheme route.

__construct(string $scheme, array $defaults) 

Parameters

$scheme

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\Scheme

see \Zend\Mvc\Router\RouteInterface::factory()

Parameters

$options

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

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

 

Scheme to match.

$scheme : array