Class Literal

Summary

Fully Qualified Name: Zend\Router\Http\Literal
Implements: RouteInterface

Description

Literal route.

Methods

Name Description Defined By
__construct() Create a new literal route. Literal
assemble() assemble(): Defined by RouteInterface interface. Literal
factory() factory(): defined by RouteInterface interface. Literal
getAssembledParams() getAssembledParams(): defined by RouteInterface interface. Literal
match() match(): defined by RouteInterface interface. Literal

Method Details

__construct()

Create a new literal route.

Parameter Name Type Description
$route string
$defaults array

Returns:

assemble()

assemble(): Defined by RouteInterface interface.

Parameter Name Type Description
$params array
$options array

Returns: mixed

factory()

factory(): defined by RouteInterface interface.

Parameter Name Type Description
$options array|\Traversable

Returns: \Literal

getAssembledParams()

getAssembledParams(): defined by RouteInterface interface.

Returns: array

match()

match(): defined by RouteInterface interface.

Parameter Name Type Description
$request \Request
$pathOffset int|null

Returns: \RouteMatch|null

Top