You are here

public function Blacklist::addGlobalVariable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/global-state/src/Blacklist.php \SebastianBergmann\GlobalState\Blacklist::addGlobalVariable()

Parameters

string $variableName:

File

vendor/sebastian/global-state/src/Blacklist.php, line 90

Class

Blacklist
A blacklist for global state elements that should not be snapshotted.

Namespace

SebastianBergmann\GlobalState

Code

public function addGlobalVariable($variableName) {
  $this->globalVariables[$variableName] = true;
}