1 | <?php |
||
19 | final class JsonFileConfigurationLoader implements ConfigurationLoaderInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var FilesystemInterface |
||
23 | */ |
||
24 | private $filesystem; |
||
25 | |||
26 | /** |
||
27 | * @param FilesystemInterface $filesystem |
||
28 | */ |
||
29 | public function __construct(FilesystemInterface $filesystem) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function load($path) |
||
48 | |||
49 | /** |
||
50 | * @param string $path |
||
51 | */ |
||
52 | private function assertFileExists($path) |
||
61 | } |
||
62 |