Event Classes
An event class is a data container which holds the information related to the event.
Defining Events
For example, let's assume our generated UserAuthenticated
event is to be defined and will transport an Elegant Model
or a collection
of Elegant
Models to its handlers;
The above code is a result of the php yuga make:event UserAuthenticated
command
Last updated