Property | Type | Description | |
---|---|---|---|
$attributes | |||
$controller | string | Overwrites the controller for this route. Per default the controller of the plugin is used. | |
$defaults | |||
$elementToArray | |||
$id | string | ||
$methods | string[] | Per default all methods are allowed. Use 'GET', 'POST', or 'GET|POST' to limit it. | |
$pattern | string | ||
$requirements |
Method | Description | |
---|---|---|
addDefault ( |
||
addRequirement ( |
||
getArrayDefaults ( ) : array | ||
getArrayRequirements ( ) : array | ||
getController ( ) : string | ||
getDefault ( string $key ) : |
||
getDefaultValue ( string $key ) : string | ||
getDefaults ( ) : |
||
getId ( ) : string | ||
getMethods ( ) : string[] | ||
getPattern ( ) : string | ||
getRequirements ( ) : |
||
setController ( string $controller ) | ||
setDefaults ( array $defaults = null ) | ||
setId ( string $id ) | ||
setMethods ( string[] $methods ) | ||
setPattern ( string $pattern ) | ||
setRequirements ( array $requirements = null ) |
public addRequirement ( |
||
$requirement |
public getDefault ( string $key ) : |
||
$key | string | |
return |
public getDefaultValue ( string $key ) : string | ||
$key | string | |
return | string |
public getRequirements ( ) : |
||
return |
public setRequirements ( array $requirements = null ) | ||
$requirements | array |
protected string $controller | ||
return | string |
protected RouteDefault[],Jarves\Configuration $defaults | ||
return |
protected string[] $methods | ||
return | string[] |