protected function initialize(InputInterface $input, OutputInterface $output)
    {
        $this->getApplication()->getDispatcher()->dispatch(
            GushEvents::INITIALIZE,
            new ConsoleCommandEvent($this, $input, $output)
        );
    }
protected function initialize(InputInterface $input, OutputInterface $output)
    {
        $this->getApplication()->getDispatcher()->dispatch(
            GushEvents::INITIALIZE,
            new ConsoleCommandEvent($this, $input, $output)
        );
    }
protected function initialize ( InputInterface $ input , OutputInterface $ output ) { $ this -> getApplication ( ) -> getDispatcher ( ) -> dispatch ( GushEvents :: INITIALIZE , new ConsoleCommandEvent ( $ this , $ input , $ output ) ) ; }
We override the initialize function as this is the only place
where we can dispatch an event which can validate the input when
it has been bound with values.

{@inheritdoc}
We override the initialize function as this is the only place where we can dispatch an event which can validate the input when it has been bound with values .