| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 29 | 4 | public function loadServices( |
|
| 30 | $configFilePath, |
||
| 31 | $configReader, |
||
| 32 | $cacheConfig = null |
||
| 33 | ) { |
||
| 34 | 4 | $loader = new ConfigLoader( |
|
| 35 | 4 | $configFilePath, |
|
| 36 | 4 | $configReader, |
|
| 37 | $cacheConfig |
||
| 38 | 4 | ); |
|
| 39 | 4 | $services = $loader->load(); |
|
| 40 | 4 | $this->services = $services->getFullConfigAsArray(); |
|
| 41 | |||
| 42 | 4 | return $this->services; |
|
| 43 | } |
||
| 44 | } |
||
| 45 |