protected function AbstractConstraintValidatorTest::restoreDefaultTimezone in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/AbstractConstraintValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\AbstractConstraintValidatorTest::restoreDefaultTimezone()
8 calls to AbstractConstraintValidatorTest::restoreDefaultTimezone()
- AbstractComparisonValidatorTestCase::provideAllInvalidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ AbstractComparisonValidatorTestCase.php - AbstractComparisonValidatorTestCase::provideAllValidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ AbstractComparisonValidatorTestCase.php - AbstractConstraintValidatorTest::tearDown in vendor/
symfony/ validator/ Tests/ Constraints/ AbstractConstraintValidatorTest.php - IdenticalToValidatorTest::provideAllValidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ IdenticalToValidatorTest.php - NotIdenticalToValidatorTest::provideAllInvalidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ NotIdenticalToValidatorTest.php
File
- vendor/
symfony/ validator/ Tests/ Constraints/ AbstractConstraintValidatorTest.php, line 89
Class
- AbstractConstraintValidatorTest
- @since 2.5.3
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function restoreDefaultTimezone() {
if (null !== $this->defaultTimezone) {
date_default_timezone_set($this->defaultTimezone);
$this->defaultTimezone = null;
}
}