public function __construct(OutputInterface $output, Application $application, EventManager $eventManager) { $this->output = $output; $this->application = $application; $this->initGlobals(); $this->eventManager = $eventManager; }