프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
메소드 | 설명 | |
---|---|---|
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 |
protected string $controller | ||
리턴 | string |
protected string[] $methods | ||
리턴 | string[] |