| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class ConfigList implements ConfigListInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var ConfigInterface[] |
||
| 21 | */ |
||
| 22 | private $list = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * ConfigList constructor. |
||
| 26 | * |
||
| 27 | * @param ConfigInterface[] $list |
||
| 28 | */ |
||
| 29 | public function __construct(array $list = []) |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return ConfigInterface[] |
||
| 36 | */ |
||
| 37 | public function getConfigList(): array |
||
| 38 | { |
||
| 39 | return $this->list; |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $area |
||
| 44 | * |
||
| 45 | * @return ConfigInterface |
||
| 46 | * @throws LocalizedException |
||
| 47 | */ |
||
| 48 | public function getConfig(string $area): ConfigInterface |
||
| 55 | } |
||
| 56 | } |
||
| 57 |