Sets the event dispatcher for dispatching the console events.
public setEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher = null ) : static | ||
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | The event dispatcher. |
return | static | The current instance. |