| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 87.5% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | final class FileConfigProvider implements CurrentConfigProviderInterface |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * Storage for configs based on name |
||
| 10 | * |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | private $configs = []; |
||
| 14 | |||
| 15 | 10 | public function getCurrentConfig(string $className): array |
|
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @inheritDoc |
||
| 30 | */ |
||
| 31 | 10 | public function setCurrentConfig(string $className, array $config): void |
|
| 36 |