code: public function registerConsole(Application $console)
  	{
  		$eventDispatcher = $this->app->getContainer()
  			->resolve('Symfony\Component\EventDispatcher\EventDispatcherInterface');
  		$console->setDispatcher($eventDispatcher);
  	}
docs: {@inheritdoc}