| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | protected function jump(string $interaction): void |
||
| 21 | { |
||
| 22 | /** @var Interaction $instance */ |
||
| 23 | $instance = Container::getInstance()->make($interaction); |
||
| 24 | |||
| 25 | if (!$instance instanceof Interaction) { |
||
| 26 | throw new InvalidArgumentException('Invalid interaction `'.$interaction.'`'); |
||
| 27 | } |
||
| 28 | |||
| 29 | // TODO |
||
| 30 | } |
||
| 31 | |||
| 40 |