protected static function parseArguments(array $arguments) {
    $string = '';
    foreach ($arguments as $name => $value) {
      if (is_null($value)) {
        $string .= ' --' . $name;
      }
      else {
        $string .= ' --' . $name . '=' . $value;
      }
    }
    return $string;
  }
protected static function parseArguments(array $arguments) {
    $string = '';
    foreach ($arguments as $name => $value) {
      if (is_null($value)) {
        $string .= ' --' . $name;
      }
      else {
        $string .= ' --' . $name . '=' . $value;
      }
    }
    return $string;
  }
protected static function parseArguments ( array $ arguments ) { $ string = '' ; foreach ( $ arguments as $ name => $ value ) { if ( is_null ( $ value ) ) { $ string .= ' --' . $ name ; } else { $ string .= ' --' . $ name . '=' . $ value ; } } return $ string ; }
Parse arguments into a string.

@param array $arguments
An array of argument/option names to values.

@return string
The parsed arguments.
Parse arguments into a string .