1 | <?php |
||
21 | abstract class StoppableEvent implements StoppableEventInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $stopped = FALSE; |
||
27 | |||
28 | /** |
||
29 | * Is propagation stopped? |
||
30 | * |
||
31 | * This will typically only be used by the Dispatcher to determine if the |
||
32 | * previous listener halted propagation. |
||
33 | * |
||
34 | * @return bool |
||
35 | * True if the Event is complete and no further listeners should be called. |
||
36 | * False to continue calling listeners. |
||
37 | */ |
||
38 | public function isPropagationStopped(): bool |
||
42 | |||
43 | /** |
||
44 | * @return void |
||
45 | */ |
||
46 | public function stopEvent(): void |
||
50 | } |