public function withEnv(string $name, string $value): self
    {
        $builder = clone $this;
        $builder->env[$name] = $value;
        
        return $builder;
    }
public function withEnv(string $name, string $value): self
    {
        $builder = clone $this;
        $builder->env[$name] = $value;
        
        return $builder;
    }
public function withEnv ( string $ name , string $ value ) : self { $ builder = clone $ this ; $ builder -> env [ $ name ] = $ value ; return $ builder ; }
Set an environment variable to be passed to the process.

@param string $name Name of the environment variable (should only contain uppercase letters and underscores).
@param string $value Value of the environment variable.
Set an environment variable to be passed to the process .