1 | <?php |
||
13 | trait Transitions |
||
14 | { |
||
15 | /** @var Kernel */ |
||
16 | protected $kernel; |
||
17 | |||
18 | /** |
||
19 | * Whether any transition run. |
||
20 | * |
||
21 | * @var bool |
||
22 | */ |
||
23 | protected $transitioned = false; |
||
24 | |||
25 | /** |
||
26 | * Jump to another interaction. |
||
27 | * |
||
28 | * @param string $interaction |
||
29 | * |
||
30 | * @throws \InvalidArgumentException |
||
31 | */ |
||
32 | 3 | protected function jump(string $interaction): void |
|
46 | |||
47 | /** |
||
48 | * Restart current intent or interaction. |
||
49 | */ |
||
50 | 3 | protected function restart(): void |
|
74 | } |
||
75 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.