Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
InjectedAnnotation.php
Go to the documentation of this file.
1<?php
2
4
6
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}
initAnnotation(array $properties)
Initialize the annotation.
Dependency injection annotations.