| Total Complexity | 7 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Tarsana\Command\Config; |
||
| 12 | class ConfigLoader implements ConfigLoaderInterface { |
||
| 13 | |||
| 14 | protected static $decoders = [ |
||
| 15 | 'json' => JsonDecoder::class |
||
| 16 | ]; |
||
| 17 | |||
| 18 | protected $fs; |
||
| 19 | |||
| 20 | public function __construct(FilesystemInterface $fs) |
||
| 21 | { |
||
| 22 | $this->fs = $fs; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function load(array $paths) : ConfigInterface |
||
| 35 | } |
||
| 36 | |||
| 37 | protected function decode(string $path) : array { |
||
| 49 |