You are here

protected function NotIdenticalToValidatorTest::createConstraint in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/NotIdenticalToValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\NotIdenticalToValidatorTest::createConstraint()

Parameters

array $options Options for the constraint:

Return value

Constraint

Overrides AbstractComparisonValidatorTestCase::createConstraint

File

vendor/symfony/validator/Tests/Constraints/NotIdenticalToValidatorTest.php, line 33

Class

NotIdenticalToValidatorTest
@author Daniel Holmes <daniel@danielholmes.org>

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected function createConstraint(array $options) {
  return new NotIdenticalTo($options);
}