Command/CliCommand.php
public function run(InputInterface $input, OutputInterface $output)
    {
        $this->doPreRun($input, $output);
        $code = parent::run($input, $output);
        $this->doPostRun($input, $output, $code);

        return $code;
    }
public function run(InputInterface $input, OutputInterface $output)
    {
        $this->doPreRun($input, $output);
        $code = parent::run($input, $output);
        $this->doPostRun($input, $output, $code);

        return $code;
    }
public function run ( InputInterface $ input , OutputInterface $ output ) { $ this -> doPreRun ( $ input , $ output ) ; $ code = parent :: run ( $ input , $ output ) ; $ this -> doPostRun ( $ input , $ output , $ code ) ; return $ code ; }
Run command.

@param InputInterface  $input
Input.
@param OutputInterface $output
Output.

@return int
Return code.
Run command .