Hostname route.

package Zend_Mvc_Router
subpackage Http
see \Zend\Mvc\Router\Http\http://guides.rubyonrails.org/routing.html

 Methods

Create a new hostname route.

__construct(string $route, array $constraints, array $defaults) 

Parameters

$route

string

$constraints

array

$defaults

array

assemble(): Defined by RouteInterface interface.

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

see \Zend\Mvc\Router\Http\Route::assemble()

Parameters

$params

array

$options

array

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

Returns

mixed

factory(): defined by RouteInterface interface.

factory(array | \Traversable $options) : \Zend\Mvc\Router\Http\Hostname

see \Zend\Mvc\Router\Http\Route::factory()

Parameters

$options

array\Traversable

Exceptions

\Zend\Mvc\Router\Exception\InvalidArgumentException

Returns

getAssembledParams(): defined by RouteInterface interface.

getAssembledParams() : array

see \Zend\Mvc\Router\Http\Route::getAssembledParams

Returns

array

match(): defined by RouteInterface interface.

match(\Zend\Stdlib\RequestInterface $request) : \Zend\Mvc\Router\Http\RouteMatch

see \Zend\Mvc\Router\Http\Route::match()

Parameters

Returns

 Properties

 

List of assembled parameters.

$assembledParams : array

 

Constraints for parameters.

$constraints : array

 

Default values.

$defaults : array

 

RouteInterface to match.

$route : array