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