Symfony\Component\Process\Process::setEnv
Sets the environment variables.
An environment variable value should be a string. If it is an array, the variable is ignored. That happens in PHP when 'argv' is registered into the $_ENV array for instance.
Signature
public function setEnv(array
$env )
Parameters
$env
— array- The new environment variables
Returns
- self
- The current Process instance