Ubiquity 2.5.2
php rapid development framework
|
Defines a route. More...
Public Member Functions | |
__construct (string $path='', ?array $methods=null, ?string $name=null, ?bool $cache=false, ?int $duration=0, ?bool $inherited=false, ?bool $automated=false, ?array $requirements=[], int $priority=0) | |
getPropertiesAndValues ($props=null) | |
Public Member Functions inherited from BaseAttribute | |
__construct () | |
asAnnotation () | |
getNamespace () | |
__toString () | |
Public Member Functions inherited from BaseAnnotationTrait | |
getProperties () | |
isSameAs ($annot) | |
Data Fields | |
string | $path |
array | $methods |
string | $name |
bool | $cache |
int | $duration |
bool | $inherited |
bool | $automated |
array | $requirements |
int | $priority |
Additional Inherited Members | |
Protected Member Functions inherited from BaseAttribute | |
getDefaultParameters () | |
Defines a route.
usages :
__construct | ( | string | $path = '' , |
?array | $methods = null , |
||
?string | $name = null , |
||
?bool | $cache = false , |
||
?int | $duration = 0 , |
||
?bool | $inherited = false , |
||
?bool | $automated = false , |
||
?array | $requirements = [] , |
||
int | $priority = 0 |
||
) |
getPropertiesAndValues | ( | $props = null | ) |
Reimplemented from BaseAnnotationTrait.