Base event adds ability to a class to act as an event. You can emit the event by calling "Event.dispatch" method.
Base event constructor
Any constructor arguments (unused)
Static
Optional
The emitter to use for dispatching events
Specify the emitter instance to use for dispatching events
The emitter instance to use
Dispatch the current class as an event. The method takes the arguments accepted by the class constructor.
Constructor arguments for the event instance
RuntimeException if no emitter is configured
Base event adds ability to a class to act as an event. You can emit the event by calling "Event.dispatch" method.