Interface RouteInterface

Summary

Fully Qualified Name: Zend\Router\RouteInterface

Description

RouteInterface interface.

Methods

Name Description Defined By
assemble() Assemble the route. RouteInterface
factory() Create a new route with given options. RouteInterface
match() Match a given request. RouteInterface

Method Details

assemble()

Assemble the route.

Parameter Name Type Description
$params array
$options array

Returns: mixed

factory()

Create a new route with given options.

Parameter Name Type Description
$options array|\Traversable

Returns: \RouteInterface

match()

Match a given request.

Parameter Name Type Description
$request \Request

Returns: \RouteMatch|null

Top