You are here

public function ProcessBuilder::add in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/ProcessBuilder.php \Symfony\Component\Process\ProcessBuilder::add()

Adds an unescaped argument to the command string.

Parameters

string $argument A command argument:

Return value

ProcessBuilder

File

vendor/symfony/process/ProcessBuilder.php, line 63

Class

ProcessBuilder
Process builder.

Namespace

Symfony\Component\Process

Code

public function add($argument) {
  $this->arguments[] = $argument;
  return $this;
}