1 | <?php |
||
15 | abstract class AbstractFetcher |
||
16 | { |
||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $expectedAnnotationType; |
||
21 | |||
22 | /** |
||
23 | * @var Reader |
||
24 | */ |
||
25 | protected $annotationReader; |
||
26 | |||
27 | /** |
||
28 | * @param string $expectedAnnotationType |
||
29 | * @param Reader $reader |
||
30 | */ |
||
31 | public function __construct($expectedAnnotationType, Reader $reader) |
||
36 | |||
37 | /** |
||
38 | * Performs filtering of annotations by the requested class name |
||
39 | * |
||
40 | * @param array $annotations |
||
41 | * @return array |
||
42 | */ |
||
43 | 34 | protected function filterContractAnnotation(array $annotations) |
|
55 | } |
||
56 |