src/Robo/BltTasks.php
protected function executeCommandAgainstFiles($files, $command, $parallel = FALSE) {
    if ($parallel) {
      return $this->executeCommandAgainstFilesInParallel($files, $command);
    }
    else {
      return $this->executeCommandAgainstFilesProcedurally($files, $command);
    }
  }
protected function executeCommandAgainstFiles($files, $command, $parallel = FALSE) {
    if ($parallel) {
      return $this->executeCommandAgainstFilesInParallel($files, $command);
    }
    else {
      return $this->executeCommandAgainstFilesProcedurally($files, $command);
    }
  }
protected function executeCommandAgainstFiles ( $ files , $ command , $ parallel = FALSE ) { if ( $ parallel ) { return $ this -> executeCommandAgainstFilesInParallel ( $ files , $ command ) ; } else { return $ this -> executeCommandAgainstFilesProcedurally ( $ files , $ command ) ; } }
Executes a given command against an array of files.

@param array $files
A flat array of absolute file paths.

@param string $command
The command to execute. The command should contain '%s', which will be
replaced with the file path of each file in the fileset.
@param bool $parallel
Indicates whether commands should be run in parallel or sequentially.
Defaults to FALSE.

@return \Robo\Result
The result of the command execution.
Executes a given command against an array of files .