| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ConfigDirectory implements ConfigInterface |
||
| 9 | { |
||
| 10 | /** @var string */ |
||
| 11 | private $path; |
||
| 12 | |||
| 13 | /** @var LoaderInterface */ |
||
| 14 | private $loader; |
||
| 15 | |||
| 16 | /** @var array */ |
||
| 17 | private $config = []; |
||
| 18 | |||
| 19 | public function __construct($path, LoaderInterface $loader) |
||
| 20 | { |
||
| 21 | $this->path = $path; |
||
| 22 | $this->loader = $loader; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function get(string $dotPath, $default = null) |
||
| 34 | } |
||
| 35 | |||
| 36 | public function set(string $dotPath, $value, $hard = false) |
||
| 43 | } |
||
| 44 | } |
||
| 46 |