public function AbstractComparisonValidatorTestCase::provideAllValidComparisons in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php \Symfony\Component\Validator\Tests\Constraints\AbstractComparisonValidatorTestCase::provideAllValidComparisons()
Return value
array
1 method overrides AbstractComparisonValidatorTestCase::provideAllValidComparisons()
- IdenticalToValidatorTest::provideAllValidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ IdenticalToValidatorTest.php
File
- vendor/
symfony/ validator/ Tests/ Constraints/ AbstractComparisonValidatorTestCase.php, line 99
Class
- AbstractComparisonValidatorTestCase
- @author Daniel Holmes <daniel@danielholmes.org>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function provideAllValidComparisons() {
// The provider runs before setUp(), so we need to manually fix
// the default timezone
$this
->setDefaultTimezone('UTC');
$comparisons = self::addPhp5Dot5Comparisons($this
->provideValidComparisons());
$this
->restoreDefaultTimezone();
return $comparisons;
}