You are here

public function ProcessBuilder::setOption in Zircon Profile 8

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

Adds a proc_open option.

Parameters

string $name The option name:

string $value The option value:

Return value

ProcessBuilder

File

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

Class

ProcessBuilder
Process builder.

Namespace

Symfony\Component\Process

Code

public function setOption($name, $value) {
  $this->options[$name] = $value;
  return $this;
}