public function setEventDispatcher(EventDispatcherInterface $eventDispatcher)
	{
		$this->eventDispatcher = $eventDispatcher;
		$this->twig->setEventDispatcher($eventDispatcher);
	}
public function setEventDispatcher(EventDispatcherInterface $eventDispatcher)
	{
		$this->eventDispatcher = $eventDispatcher;
		$this->twig->setEventDispatcher($eventDispatcher);
	}
public function setEventDispatcher ( EventDispatcherInterface $ eventDispatcher ) { $ this -> eventDispatcher = $ eventDispatcher ; $ this -> twig -> setEventDispatcher ( $ eventDispatcher ) ; }
Set the event dispatcher instance.

@param EventDispatcherInterface $eventDispatcher
Set the event dispatcher instance .