Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class DocBlockDriverFactory implements DriverFactoryInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var DriverFactoryInterface |
||
16 | */ |
||
17 | private $driverFactoryToDecorate; |
||
18 | /** |
||
19 | * @var ParserInterface|null |
||
20 | */ |
||
21 | private $typeParser; |
||
22 | |||
23 | public function __construct(DriverFactoryInterface $driverFactoryToDecorate, ?ParserInterface $typeParser = null) |
||
24 | { |
||
25 | $this->driverFactoryToDecorate = $driverFactoryToDecorate; |
||
26 | $this->typeParser = $typeParser; |
||
27 | } |
||
28 | |||
29 | public function createDriver(array $metadataDirs, Reader $annotationReader): DriverInterface |
||
34 | } |
||
35 | } |
||
36 |