Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 0 |
1 | <?php |
||
11 | abstract class AbstractConfig implements ConfigInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \Xervice\Config\Container\ConfigContainer |
||
15 | */ |
||
16 | private $config; |
||
17 | |||
18 | /** |
||
19 | * AbstractConfig constructor. |
||
20 | * @throws \Xervice\Config\Exception\FileNotFound |
||
21 | */ |
||
22 | 7 | public function __construct() |
|
25 | 7 | } |
|
26 | |||
27 | /** |
||
28 | * @param string $name |
||
29 | * @param mixed $default |
||
30 | * |
||
31 | * @return mixed |
||
32 | */ |
||
33 | 1 | public function get(string $name, $default = null) |
|
43 | } |