Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | abstract class AbstractParametersProcessorFactory |
||
11 | { |
||
12 | /** |
||
13 | * @var AnnotationProvider |
||
14 | */ |
||
15 | protected $annotationProvider; |
||
16 | |||
17 | /** |
||
18 | * @var ParametersProcessorInterface |
||
19 | */ |
||
20 | protected $noOpParametersProcessor; |
||
21 | |||
22 | 5 | public function __construct( |
|
23 | AnnotationProvider $annotationProvider, |
||
24 | ParametersProcessorInterface $noOpParametersProcessor |
||
25 | ) { |
||
26 | 5 | $this->annotationProvider = $annotationProvider; |
|
27 | 5 | $this->noOpParametersProcessor = $noOpParametersProcessor; |
|
28 | 5 | } |
|
29 | |||
30 | 2 | protected function getNoOpParametersProcessor(): ParametersProcessorInterface |
|
33 | } |
||
34 | |||
35 | 5 | protected function getAnnotationProvider(): AnnotationProvider |
|
40 |