You are here

protected function GreaterThanValidatorTest::createConstraint in Zircon Profile 8.0

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

Parameters

array $options Options for the constraint:

Return value

Constraint

Overrides AbstractComparisonValidatorTestCase::createConstraint

File

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

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

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