Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Config extends AbstractConfig |
||
10 | { |
||
11 | /** |
||
12 | * Construct an instance of Config. |
||
13 | */ |
||
14 | public function __construct(array $paths) |
||
15 | { |
||
16 | foreach ($paths as $path) { |
||
17 | $this->addPath($path); |
||
18 | } |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Create a ConfigReader instance. |
||
23 | * |
||
24 | * @return \FigTree\Config\Contracts\ConfigReaderInterface |
||
25 | */ |
||
26 | public function createReader(): ConfigReaderInterface |
||
29 | } |
||
30 | } |
||
31 |