Symfony\Component\EventDispatcher\Event::setDispatcher
Stores the EventDispatcher that dispatches this Event
Signature
public function setDispatcher(EventDispatcherInterface
$dispatcher )
Parameters
$dispatcher
— Symfony\Component\EventDispatcher\EventDispatcherInterface