You are here

public function PHPUnit_Framework_TestSuite::setBackupGlobals in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/src/Framework/TestSuite.php \PHPUnit_Framework_TestSuite::setBackupGlobals()

@since Method available since Release 3.3.0

Parameters

bool $backupGlobals:

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 942

Class

PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.

Code

public function setBackupGlobals($backupGlobals) {
  if (is_null($this->backupGlobals) && is_bool($backupGlobals)) {
    $this->backupGlobals = $backupGlobals;
  }
}