1 | <?php |
||
16 | class Reader |
||
17 | { |
||
18 | /** |
||
19 | * @var \Symfony\Component\Config\Definition\ConfigurationInterface |
||
20 | */ |
||
21 | private $configuration; |
||
22 | |||
23 | /** |
||
24 | * @var \Symfony\Component\Yaml\Parser |
||
25 | */ |
||
26 | private $parser; |
||
27 | |||
28 | /** |
||
29 | * @var \Symfony\Component\Config\Definition\Processor |
||
30 | */ |
||
31 | private $processor; |
||
32 | |||
33 | /** |
||
34 | * @param ConfigurationInterface $configuration |
||
35 | * @param Parser $parser |
||
36 | * @param Processor $processor |
||
37 | */ |
||
38 | 5 | public function __construct(ConfigurationInterface $configuration, $parser = null, $processor = null) |
|
52 | |||
53 | /** |
||
54 | * @param string $configPath |
||
55 | * |
||
56 | * @throws ReaderException |
||
57 | * |
||
58 | * @return array |
||
59 | */ |
||
60 | 5 | public function read($configPath) |
|
84 | } |
||
85 |