| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | private function initConfiguration($configFile, Dispatcher $dispatcher) |
||
| 49 | { |
||
| 50 | $configArray = $this->getConfigArray($configFile, true); |
||
| 51 | |||
| 52 | if (is_string($configArray)) { |
||
| 53 | throw new \RuntimeException('Unable to load config file. Please check ' . $configFile); |
||
| 54 | } |
||
| 55 | |||
| 56 | $this->config = new Configuration(new Uri('http://www.example.com'), $dispatcher, $configArray); |
||
| 57 | } |
||
| 58 | } |
||
| 59 |