You are here

public function ProcessBuilder::inheritEnvironmentVariables in Zircon Profile 8

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

Sets whether environment variables will be inherited or not.

Parameters

bool $inheritEnv:

Return value

ProcessBuilder

File

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

Class

ProcessBuilder
Process builder.

Namespace

Symfony\Component\Process

Code

public function inheritEnvironmentVariables($inheritEnv = true) {
  $this->inheritEnv = $inheritEnv;
  return $this;
}