1 | <?php |
||
10 | abstract class Annotation |
||
11 | { |
||
12 | /** |
||
13 | * Name of structure property |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | private $name; |
||
18 | |||
19 | /** |
||
20 | * Class constructor |
||
21 | * |
||
22 | * @param array $values |
||
23 | * @throws AnnotationException |
||
24 | */ |
||
25 | 190 | public function __construct(array $values) |
|
29 | |||
30 | /** |
||
31 | * Parse given annotation values |
||
32 | * |
||
33 | * @param array $values |
||
34 | * @throws AnnotationException |
||
35 | * @return void |
||
36 | */ |
||
37 | 190 | protected function parseValues(array &$values) |
|
48 | |||
49 | /** |
||
50 | * Get structure property name |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | 180 | public function getName() |
|
58 | } |
||
59 |