StaticPagesQueueEvent
class StaticPagesQueueEvent (View source)
Base class that all other events inherits. Also responsible for registering and notice eventlisteners about events.
Properties
protected static | array | $events | ||
protected static | bool | $fire_test_events |
Methods
public static
trigger_events_during_testing(bool $fire)
Start running the event system, even if we are running tests
public static
register_event(string $eventClass, string $listenerMarker)
Example usage: Event::register_event('MyEvent', MyEventListener')
Details
static
trigger_events_during_testing(bool $fire)
Start running the event system, even if we are running tests
static
register_event(string $eventClass, string $listenerMarker)
Example usage: Event::register_event('MyEvent', MyEventListener')
static bool
fire_event(StaticPagesQueueEvent $eventClass)
No description
static
clear()
Remove all previous registered events and listeners