protected function runCommand($command, array $defaultOptions = array(), array $options = array()) {
        $command = $this->getCommand($command, array_merge(
            $defaultOptions,
            $options
        ));

        $command->execute();
        return $command->getResult();
    }
protected function runCommand($command, array $defaultOptions = array(), array $options = array()) {
        $command = $this->getCommand($command, array_merge(
            $defaultOptions,
            $options
        ));

        $command->execute();
        return $command->getResult();
    }
protected function runCommand ( $ command , array $ defaultOptions = array ( ) , array $ options = array ( ) ) { $ command = $ this -> getCommand ( $ command , array_merge ( $ defaultOptions , $ options ) ) ; $ command -> execute ( ) ; return $ command -> getResult ( ) ; }
Run a command by the given name, merging default and passed options

@param  string $command        Name of command to run
@param  array  $defaultOptions Default options for this command
@param  array  $options        User-specified options to merge
@return mixed
Run a command by the given name merging default and passed options