| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 12 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | public function handle() |
||
| 28 | { |
||
| 29 | foreach ($this->handlerList as $possibleHandler) { |
||
| 30 | // Add namespace to class name |
||
| 31 | $possibleHandler = '\\SSpkS\\Handler\\' . $possibleHandler; |
||
| 32 | $handler = new $possibleHandler($this->config); |
||
| 33 | if ($handler->canHandle()) { |
||
| 34 | $handler->handle(); |
||
| 35 | break; |
||
| 36 | } |
||
| 40 |