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?
Look at this artikel: https://symfony.com/doc/current/components/event_dispatcher/generic_event.html
You can get the Subject with getSubject() and pass it. But more usefull it isn't.