1 | <?php |
||
18 | abstract class AbstractFetcher |
||
19 | { |
||
20 | /** |
||
21 | * @var string[] |
||
22 | */ |
||
23 | protected $expectedAnnotationTypes; |
||
24 | |||
25 | /** |
||
26 | * @var Reader |
||
27 | */ |
||
28 | protected $annotationReader; |
||
29 | |||
30 | /** |
||
31 | * @param string[] $expectedAnnotationTypes |
||
32 | * @param Reader $reader |
||
33 | */ |
||
34 | public function __construct(array $expectedAnnotationTypes, Reader $reader) |
||
39 | |||
40 | /** |
||
41 | * Performs filtering of annotations by the requested class name |
||
42 | * |
||
43 | * @param array $annotations |
||
44 | * @return array |
||
45 | */ |
||
46 | 29 | protected function filterContractAnnotation(array $annotations): array |
|
60 | } |
||
61 |