8000 add missing docblock for ProcessBuilder::addEnvironmentVariables() · symfony/symfony@9e1d11d · GitHub
[go: up one dir, main page]

Skip to content

Commit 9e1d11d

Browse files
committed
add missing docblock for ProcessBuilder::addEnvironmentVariables()
1 parent ce29e0a commit 9e1d11d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Symfony/Component/Process/ProcessBuilder.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,17 @@ public function setEnv($name, $value)
145145
return $this;
146146
}
147147

148+
/**
149+
* Adds a set of environment variables.
150+
*
151+
* Already existing environment variables with the same name will be
152+
* overridden by the new values passed to this method. Pass `null` to unset
153+
* a variable.
154+
*
155+
* @param array $variables The variables
156+
*
157+
* @return ProcessBuilder
158+
*/
148159
public function addEnvironmentVariables(array $variables)
149160
{
150161
$this->env = array_replace($this->env, $variables);

0 commit comments

Comments
 (0)
0