Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class PropertyTargetClassAnnotationListener implements PropertyAnnotationListenerInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var TypeResolver |
||
18 | */ |
||
19 | private $resolver; |
||
20 | /** |
||
21 | * @var ContextFactory |
||
22 | */ |
||
23 | private $contextFactory; |
||
24 | |||
25 | public function __construct() |
||
26 | { |
||
27 | $this->resolver = new TypeResolver(); |
||
28 | $this->contextFactory = new ContextFactory(); |
||
29 | } |
||
30 | |||
31 | public function accept(ReflectionProperty $property, Entity $entity, $annotation): void |
||
45 | } |
||
46 | } |
||
48 |