PHP Webiny\Component\EventManager Namespace

Nested Namespaces

Webiny\Component\EventManager\Tests

Interfaces

Name Description
EventSubscriberInterface This interface is used for event subscriber classes

Classes

Name Description
Event Event class holds event data. Data can be accessed using array keys or as object properties.
EventListener EventListener is a class that holds event handler information.
EventManager EventManager is responsible for handling events. It is the main class for subscribing to events and firing events.
Besides regular event names, it supports firing of wildcard events, ex: 'webiny.*' will fire all events starting with 'webiny.'
EventManagerException Exception class for the EventManager component.
EventProcessor EventProcessor is a class that takes EventListeners and Event object and processes the event.

Traits

Name Description
EventManagerTrait A library of EventManager functions