protected function IdenticalToValidatorTest::createConstraint in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/IdenticalToValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IdenticalToValidatorTest::createConstraint()
Parameters
array $options Options for the constraint:
Return value
Constraint
Overrides AbstractComparisonValidatorTestCase::createConstraint
File
- vendor/
symfony/ validator/ Tests/ Constraints/ IdenticalToValidatorTest.php, line 33
Class
- IdenticalToValidatorTest
- @author Daniel Holmes <daniel@danielholmes.org>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
protected function createConstraint(array $options) {
return new IdenticalTo($options);
}