src/Robo/BltTasks.php
protected function invokeCommands(array $commands) {
    foreach ($commands as $key => $value) {
      if (is_numeric($key)) {
        $command = $value;
        $args = [];
      }
      else {
        $command = $key;
        $args = $value;
      }
      $this->invokeCommand($command, $args);
    }
  }
protected function invokeCommands(array $commands) {
    foreach ($commands as $key => $value) {
      if (is_numeric($key)) {
        $command = $value;
        $args = [];
      }
      else {
        $command = $key;
        $args = $value;
      }
      $this->invokeCommand($command, $args);
    }
  }
protected function invokeCommands ( array $ commands ) { foreach ( $ commands as $ key => $ value ) { if ( is_numeric ( $ key ) ) { $ command = $ value ; $ args = [ ] ; } else { $ command = $ key ; $ args = $ value ; } $ this -> invokeCommand ( $ command , $ args ) ; } }
Invokes an array of Symfony commands.

@param array $commands
An array of Symfony commands to invoke, e.g., 'tests:behat:run'.
Invokes an array of Symfony commands .