Свойство | Type | Description | |
---|---|---|---|
$content |
Méthode | Description | |
---|---|---|
__construct ( $pattern, array $defaults = [] ) | ||
addDefaults ( array $defaults ) : |
Adds defaults. | |
getContent ( ) : object | Get the content document this route entry stands for. If non-null, the ControllerClassMapper uses it to identify a controller and the content is passed to the controller. | |
getDefaults ( ) : array | ||
getLocale ( ) : mixed | ||
getOption ( $name ) | {@inheritDoc} | |
getOptions ( ) | {@inheritDoc} | |
getRouteKey ( ) : mixed | ||
setDefaults ( array $defaults ) : |
Sets the defaults. |
public __construct ( $pattern, array $defaults = [] ) | ||
$pattern | ||
$defaults | array |
public addDefaults ( array $defaults ) : |
||
$defaults | array | The defaults |
Résultat | The current Route instance |
public getContent ( ) : object | ||
Résultat | object | the document or entity this route entry points to |
public setDefaults ( array $defaults ) : |
||
$defaults | array | The defaults |
Résultat | The current Route instance |