Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2.1481 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
17 | 1 | public function __construct(array $configDefinitions = [], \SplFileInfo $servicesFile = null) |
|
18 | { |
||
19 | 1 | $this->configDefinitions = $configDefinitions; |
|
20 | |||
21 | 1 | if (null === $servicesFile) { |
|
22 | $this->servicesFile = new \SplFileInfo(self::DEFAULT_DEFINITION_FILE); |
||
23 | return; |
||
24 | } |
||
25 | |||
26 | 1 | $this->servicesFile = $servicesFile; |
|
27 | 1 | } |
|
38 |