| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | protected function routeCall($className, $call, $view, $params) |
||
| 32 | { |
||
| 33 | if (class_exists($className)) |
||
| 34 | { |
||
| 35 | Logger::debug("200 $className $call"); |
||
| 36 | $class = new $className(); |
||
| 37 | $class->$call($view, $params); |
||
| 38 | throw new \Exception("Called $className::$call but code did not terminate as expected."); |
||
| 39 | } |
||
| 40 | } |
||
| 41 | } |
||
| 42 |