class
League
/
CommonMark
/
Event
/
AbstractEvent
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
abstract
AbstractEvent
Base class for classes containing event data.
This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised.
You can call the method stopPropagation() to abort the execution of further listeners in your event listener.
Implements
- Psr\...\StoppableEventInterface
Properties
private
$propagationStopped
Default: false
Methods
public
final
isPropagationStopped ( ) : void
Returns whether further event listeners should be triggered.
public
final
stopPropagation ( ) : void
Stops the propagation of the event to further event listeners.