You are here

public function PHPUnit_Framework_TestCase::setDisallowChangesToGlobalState in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::setDisallowChangesToGlobalState()

@since Method available since Release 4.6.0

Parameters

bool $disallowChangesToGlobalState:

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1054

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public function setDisallowChangesToGlobalState($disallowChangesToGlobalState) {
  $this->disallowChangesToGlobalState = $disallowChangesToGlobalState;
}