Class Hostname

Summary

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

Description

Hostname route.

Methods

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

Method Details

__construct()

Create a new hostname route.

Parameter Name Type Description
$route string
$constraints array
$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: \Hostname

getAssembledParams()

getAssembledParams(): defined by RouteInterface interface.

Returns: array

match()

match(): defined by RouteInterface interface.

Parameter Name Type Description
$request \Request

Returns: \RouteMatch|null

Top