trait DispatcherAwareStaticTrait (View source)

DispatcherAwareStaticTrait

Methods

static mixed
triggerEvent(string|Event $event, array $args = array())

triggerEvent

static Dispatcher
getDispatcher()

Method to get property Dispatcher

static void
setDispatcher(mixed $dispatcher)

Method to set property dispatcher

Details

at line line 36
static mixed triggerEvent(string|Event $event, array $args = array())

triggerEvent

Parameters

string|Event $event
array $args

Return Value

mixed

at line line 46
static Dispatcher getDispatcher()

Method to get property Dispatcher

Return Value

Dispatcher

at line line 58
static void setDispatcher(mixed $dispatcher)

Method to set property dispatcher

Parameters

mixed $dispatcher

Return Value

void