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

Afficher le fichier Open project: ezsystems/ezpublish-kernel Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $route, array $params = [] )
get ( string $parameterName, mixed $defaultValue = null, boolean $deep = false ) : mixed Returns a route parameter.
getParams ( ) : array
getRoute ( ) : mixed
has ( $parameterName )
remove ( string $parameterName ) Removes a route parameter.
set ( string $parameterName, mixed $value ) Sets a route parameter.
setRoute ( mixed $route )

Method Details

__construct() public méthode

public __construct ( $route, array $params = [] )
$params array

get() public méthode

Returns a route parameter.
public get ( string $parameterName, mixed $defaultValue = null, boolean $deep = false ) : mixed
$parameterName string
$defaultValue mixed
$deep boolean
Résultat mixed

getParams() public méthode

public getParams ( ) : array
Résultat array

getRoute() public méthode

public getRoute ( ) : mixed
Résultat mixed

has() public méthode

public has ( $parameterName )

remove() public méthode

Removes a route parameter.
public remove ( string $parameterName )
$parameterName string

set() public méthode

Sets a route parameter.
public set ( string $parameterName, mixed $value )
$parameterName string
$value mixed

setRoute() public méthode

public setRoute ( mixed $route )
$route mixed