Sets the environment variables.
Parameters
array $env The new environment variables:
Return value
self The current Process instance
File
- drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 949
Class
- Process
- Process is a thin wrapper around proc_* functions to ease
start independent PHP processes.
Namespace
Symfony\Component\Process
Code
public function setEnv(array $env) {
$this->env = $env;
return $this;
}