Class

eZ\Publish\Core\MVC\Symfony\Routing\RouteReference

class RouteReference

Methods

__construct($route, array $params = array())

setRoute(mixed $route)

mixed getRoute()

array getParams()

set(string $parameterName, mixed $value)

Sets a route parameter.

mixed get(string $parameterName, mixed $defaultValue = null, bool $deep = false)

Returns a route parameter.

has($parameterName)

remove(string $parameterName)

Removes a route parameter.

Details

at line 25
public __construct($route, array $params = array())

Parameters

$route
array $params

at line 34
public setRoute(mixed $route)

Parameters

mixed $route

at line 42
public mixed getRoute()

Return Value

mixed

at line 50
public array getParams()

Return Value

array

at line 61
public set(string $parameterName, mixed $value)

Sets a route parameter.

Parameters

string $parameterName
mixed $value

at line 75
public mixed get(string $parameterName, mixed $defaultValue = null, bool $deep = false)

Returns a route parameter.

Parameters

string $parameterName
mixed $defaultValue
bool $deep

Return Value

mixed

at line 80
public has($parameterName)

Parameters

$parameterName

at line 90
public remove(string $parameterName)

Removes a route parameter.

Parameters

string $parameterName