Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | final class AnnotatedClass |
||
18 | { |
||
19 | /** @var \ReflectionClass */ |
||
20 | private $class; |
||
21 | |||
22 | /** @var mixed */ |
||
23 | private $annotation; |
||
24 | |||
25 | /** |
||
26 | * @param mixed $annotation |
||
27 | */ |
||
28 | public function __construct(\ReflectionClass $class, $annotation) |
||
29 | { |
||
30 | $this->class = $class; |
||
31 | $this->annotation = $annotation; |
||
32 | } |
||
33 | |||
34 | public function getClass(): \ReflectionClass |
||
35 | { |
||
36 | return $this->class; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return mixed |
||
41 | */ |
||
42 | public function getAnnotation() |
||
45 | } |
||
46 | } |
||
47 |