Process::setEnv()

Process setEnv(array $env)

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.

Parameters

array $env The new environment variables

Return Value

Process The current Process instance
doc_Symfony
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.