Page MenuHomeClusterLabs Projects
Diviner Tech Docs PhabricatorLocaleScopeGuard

final class PhabricatorLocaleScopeGuard
Phorge Technical Documentation ()

Change the effective locale for the lifetime of this guard.

Use PhabricatorEnv::beginScopedLocale() to acquire a guard. Guards are released when they exit scope.

Methods

public function __construct($code)

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

public function __destruct()

This method is not documented.
Return
wild