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