1 | <?php |
||
21 | final class FilesystemConfigurationProvider implements ConfigurationProviderInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var FileLocatorInterface |
||
25 | */ |
||
26 | private $fileLocator; |
||
27 | |||
28 | /** |
||
29 | * @var ConfigurationLoaderInterface |
||
30 | */ |
||
31 | private $loader; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | private $configurationFilename; |
||
37 | |||
38 | /** |
||
39 | * @param FileLocatorInterface $fileLocator |
||
40 | * @param ConfigurationLoaderInterface $loader |
||
41 | * @param string $configurationFilename |
||
42 | */ |
||
43 | public function __construct(FileLocatorInterface $fileLocator, ConfigurationLoaderInterface $loader, $configurationFilename) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function getConfigurations() |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function getResources() |
||
69 | |||
70 | /** |
||
71 | * @param callable $callback |
||
72 | * |
||
73 | * @return array |
||
74 | */ |
||
75 | private function processFileResources(callable $callback) |
||
85 | } |
||
86 |