Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
InjectedAnnotation.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\annotations\items\di
;
4
5
use
Ubiquity\annotations\items\BaseAnnotation
;
6
18
class
InjectedAnnotation
extends
BaseAnnotation
{
19
public
$name
;
20
public
$code
;
21
25
public
function
initAnnotation
(array $properties) {
26
if
(isset ( $properties [0] )) {
27
$this->name = $properties [0];
28
unset ( $properties [0] );
29
if
(isset ( $properties [1] )) {
30
$this->code = $properties [1];
31
unset ( $properties [1] );
32
}
33
}
34
parent::initAnnotation ( $properties );
35
}
36
}
Ubiquity\annotations\items\BaseAnnotation
Base class for annotations.
Definition
BaseAnnotation.php:13
Ubiquity\annotations\items\di\InjectedAnnotation
Annotation for dependency injection.
Definition
InjectedAnnotation.php:18
Ubiquity\annotations\items\di\InjectedAnnotation\initAnnotation
initAnnotation(array $properties)
Initialize the annotation.
Definition
InjectedAnnotation.php:25
Ubiquity\annotations\items\di\InjectedAnnotation\$code
$code
Definition
InjectedAnnotation.php:20
Ubiquity\annotations\items\di\InjectedAnnotation\$name
$name
Definition
InjectedAnnotation.php:19
Ubiquity\annotations\items\di
Dependency injection annotations.
Definition
AutowiredAnnotation.php:6
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-annotations
src
Ubiquity
annotations
items
di
InjectedAnnotation.php
Generated on Sun Dec 10 2023 15:04:03 for
Ubiquity
by
doxygen
1.9.8