1 | <?php |
||
11 | trait Transitions |
||
12 | { |
||
13 | /** |
||
14 | * Jump to another interaction. |
||
15 | * |
||
16 | * @param string $interaction |
||
17 | * |
||
18 | * @throws \InvalidArgumentException |
||
19 | */ |
||
20 | 3 | protected function jump(string $interaction): void |
|
32 | |||
33 | /** |
||
34 | * Restart current intent or interaction. |
||
35 | */ |
||
36 | 2 | protected function restart(): void |
|
40 | |||
41 | 3 | private function conversationManager(): ConversationManager |
|
45 | } |
||
46 |