DispatcherInterface
in
Table of Contents
Methods
- dispatch() : void
- Dispatch a given signal to all handlers Calling this method will invoke all handlers that are registered to the given signal key.
Methods
dispatch()
Dispatch a given signal to all handlers Calling this method will invoke all handlers that are registered to the given signal key.
public
dispatch(string $key, Signal $signal) : void
Parameters
- $key : string
-
The signal key, this is name on which handlers are registered
- $signal : Signal
-
The signal to dispatch