protected function executeCommand($command, OutputInterface $output = null, array $options = [])
    {
        if (is_null($output)) {
            $output = new NullOutput();
        }

        $options = array_merge($options, [
            'command' => $command,
        ]);

        $this
            ->getApplication()
            ->run(new ArrayInput($options), $output);

        return $this;
    }
protected function executeCommand($command, OutputInterface $output = null, array $options = [])
    {
        if (is_null($output)) {
            $output = new NullOutput();
        }

        $options = array_merge($options, [
            'command' => $command,
        ]);

        $this
            ->getApplication()
            ->run(new ArrayInput($options), $output);

        return $this;
    }
protected function executeCommand ( $ command , OutputInterface $ output = null , array $ options = [ ] ) { if ( is_null ( $ output ) ) { $ output = new NullOutput ( ) ; } $ options = array_merge ( $ options , [ 'command' => $ command , ] ) ; $ this -> getApplication ( ) -> run ( new ArrayInput ( $ options ) , $ output ) ; return $ this ; }
Execute a command.

@param string          $command
@param OutputInterface $output
@param array           $options Command options

@return $this Self object
Execute a command .