Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
22 | public function __construct(UserInterface $ui, array $config = []) |
||
23 | { |
||
24 | $this->ui = $ui; |
||
25 | |||
26 | if (!empty($configFilePath = $this->getConfigFilePath())) { |
||
27 | $config = array_replace_recursive((array) Yaml::parseFile($configFilePath), $config); |
||
28 | } |
||
29 | |||
30 | $this->config = $config; |
||
31 | } |
||
46 |