Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class Config |
||
9 | { |
||
10 | use Traits\GenerateContentTrait; |
||
11 | use Traits\HasEnviromentsTrait; |
||
12 | use Traits\HasParamsTrait; |
||
13 | use Traits\HasPathsTrait; |
||
14 | |||
15 | /** |
||
16 | * Config constructor. |
||
17 | */ |
||
18 | 8 | public function __construct() |
|
19 | { |
||
20 | 8 | $this->generateBaseParams(); |
|
21 | 8 | } |
|
22 | |||
23 | /** |
||
24 | * @param array $params |
||
25 | * @return static |
||
26 | */ |
||
27 | 1 | public static function fromConfig(array $params) |
|
33 | } |
||
34 | } |
||
35 |