Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | final class Annotation |
||
15 | { |
||
16 | use AnnotationTrait; |
||
|
|||
17 | |||
18 | /** |
||
19 | * Annotation constructor. |
||
20 | * |
||
21 | * @param object|string $class |
||
22 | * @param CacheInterface|null $cache |
||
23 | * @throws EmptyClassException |
||
24 | * @throws ReflectionException |
||
25 | */ |
||
26 | 27 | public function __construct($class, CacheInterface $cache = null) |
|
43 |