Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
RouteAnnotation.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\annotations\items\router
;
4
5
use
Ubiquity\annotations\items\BaseAnnotation
;
6
22
class
RouteAnnotation
extends
BaseAnnotation
{
23
public
$path
;
24
public
$methods
;
25
public
$name
;
26
public
$cache
;
27
public
$duration
;
28
public
$inherited
;
29
public
$automated
;
30
public
$requirements
;
31
public
$priority
;
32
36
public
function
initAnnotation
(array $properties) {
37
$this->inherited =
false
;
38
$this->automated =
false
;
39
$this->requirements = [ ];
40
$this->priority = 0;
41
if
(isset ( $properties [0] )) {
42
$this->path = $properties [0];
43
unset ( $properties [0] );
44
}
else
45
$this->path =
""
;
46
parent::initAnnotation ( $properties );
47
}
48
}
Ubiquity\annotations\items\BaseAnnotation
Base class for annotations.
Definition
BaseAnnotation.php:13
Ubiquity\annotations\items\router\RouteAnnotation
Defines a route.
Definition
RouteAnnotation.php:22
Ubiquity\annotations\items\router\RouteAnnotation\$path
$path
Definition
RouteAnnotation.php:23
Ubiquity\annotations\items\router\RouteAnnotation\$requirements
$requirements
Definition
RouteAnnotation.php:30
Ubiquity\annotations\items\router\RouteAnnotation\$priority
$priority
Definition
RouteAnnotation.php:31
Ubiquity\annotations\items\router\RouteAnnotation\initAnnotation
initAnnotation(array $properties)
Initialize the annotation.
Definition
RouteAnnotation.php:36
Ubiquity\annotations\items\router\RouteAnnotation\$methods
$methods
Definition
RouteAnnotation.php:24
Ubiquity\annotations\items\router\RouteAnnotation\$inherited
$inherited
Definition
RouteAnnotation.php:28
Ubiquity\annotations\items\router\RouteAnnotation\$name
$name
Definition
RouteAnnotation.php:25
Ubiquity\annotations\items\router\RouteAnnotation\$cache
$cache
Definition
RouteAnnotation.php:26
Ubiquity\annotations\items\router\RouteAnnotation\$duration
$duration
Definition
RouteAnnotation.php:27
Ubiquity\annotations\items\router\RouteAnnotation\$automated
$automated
Definition
RouteAnnotation.php:29
Ubiquity\annotations\items\router
Router annotations.
Definition
DeleteAnnotation.php:2
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-annotations
src
Ubiquity
annotations
items
router
RouteAnnotation.php
Generated on Sun Dec 10 2023 15:04:04 for
Ubiquity
by
doxygen
1.9.8