| 1 | <?php |
||
| 9 | class ConfigurationManager { |
||
| 10 | /** @var FileLocatorInterface **/ |
||
| 11 | protected $locator; |
||
| 12 | /** @var string **/ |
||
| 13 | protected $format; |
||
| 14 | /** @var array **/ |
||
| 15 | protected $loaders; |
||
| 16 | /** @var array **/ |
||
| 17 | protected $rules; |
||
| 18 | /** @var array **/ |
||
| 19 | protected $attributes; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param FileLocatorInterface $locator |
||
| 23 | * @param string $format |
||
| 24 | */ |
||
| 25 | 7 | public function __construct(FileLocatorInterface $locator, $format = 'yaml') { |
|
| 32 | |||
| 33 | /** |
||
| 34 | * @param array $configurationFiles |
||
| 35 | */ |
||
| 36 | 7 | public function parseConfigurationFile($configurationFiles) { |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @return array |
||
| 50 | */ |
||
| 51 | 7 | public function getAttributes() { |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return array |
||
| 57 | */ |
||
| 58 | 3 | public function getRules() { |
|
| 61 | } |