Symfony\Component\EventDispatcher\GenericEvent::__construct
Encapsulate an event with $subject and $args.
Signature
public function __construct([mixed
$subject = null,
array
$arguments] )
Parameters
$subject
— mixed- The subject of the event, usually an object.
$arguments
— array- Arguments to store in the event.