Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorScopedEnv

final class PhabricatorScopedEnv
Phorge Technical Documentation ()

Scope guard to hold a temporary environment. See PhabricatorEnv for instructions on use.

Tasks

Internals

Overriding Environment Configuration

  • public function overrideEnvConfig($key, $value) — Override a configuration key in this scope, setting it to a new value.

Methods

public function overrideEnvConfig($key, $value)

Override a configuration key in this scope, setting it to a new value.

Parameters
string$keyKey to override.
wild$valueNew value.
Return
this

public function __construct($stack_key)

This method is not documented.
Parameters
$stack_key
Return
this//Implicit.//

public function __destruct()

Release the scoped environment.

Return
void