Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | trait StoppableTrait |
||
17 | { |
||
18 | private $propagationStopped = false; |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function isPropagationStopped(): bool |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * Stops the propagation of the event to further event listeners. |
||
30 | * |
||
31 | * If multiple event listeners are connected to the same event, no |
||
32 | * further event listener will be triggered once any trigger calls |
||
33 | * stopPropagation(). |
||
34 | */ |
||
35 | public function stopPropagation(): void |
||
40 |