Event
Properties
$eventName protected
php
protected ?string $eventNameMethods
call()
php
public function call() : voidCalls event handlers registered for this event.
getEventName()
php
final public function getEventName() : stringhasHandlers()
php
public static function hasHandlers() : boolReturns whether the current class context has any registered global handlers. This can be used in hot code paths to avoid unnecessary event object creation.
Usage: SomeEventClass::hasHandlers()
