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