Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConstraintValidatorTestCase.php

function ConstraintValidatorTestCase::tearDown

Overrides TestCase::tearDown

File

vendor/symfony/validator/Test/ConstraintValidatorTestCase.php, line 96

Class

ConstraintValidatorTestCase
A test case to ease testing Constraint Validators.

Namespace

Symfony\Component\Validator\Test

Code

protected function tearDown() : void {
    $this->restoreDefaultTimezone();
    if (class_exists(\Locale::class)) {
        \Locale::setDefault($this->defaultLocale);
    }
}
RSS feed
Powered by Drupal