| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function init(Configuration $_configuration) |
||
| 14 | { |
||
| 15 | if ($_configuration->hasSection('responseRetriever')) { |
||
| 16 | $this->retriever = Init::initialize($_configuration->getSection('responseRetriever')); |
||
| 17 | } else { |
||
| 18 | throw new \RuntimeException("No response retriever set. Please check the config file if a section 'responseRetriever' exists."); |
||
| 19 | } |
||
| 20 | } |
||
| 21 | |||
| 35 |