base class for event listeners.
protected array<string|int, string> $eventMapping = array()
mapping between event name and methods to execute keys are events, values are method name. useful when events name contains characters that are forbidden in a method name.
perform a given event.
public performEvent(EventInterface $event) : mixed
- $event : EventInterface
the event itself