| Conditions | 3 |
| Paths | 3 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 102 | public function __call($method, $args) |
|
| 28 | { |
||
| 29 | 102 | $this->writeDebugInfo(debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 2)); |
|
| 30 | |||
| 31 | 102 | foreach ($this->situations() as $className) { |
|
| 32 | 102 | if (method_exists($className, $method)) { |
|
| 33 | 102 | return app($className)->$method(...$args); |
|
| 34 | } |
||
| 59 |