The GenericEvent
of the symfony/event-dispatcher
package provides two properties -- subject
and arguments
. If I understand the docu correctly, the arguments
can be used for passing context data into the Event
object. But I'm not getting, how to use the other property.
How is the GenericEvent#subject
intended to be used?