You are here

abstract protected function AbstractComparisonValidatorTestCase::createConstraint in Zircon Profile 8

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

Parameters

array $options Options for the constraint:

Return value

Constraint

3 calls to AbstractComparisonValidatorTestCase::createConstraint()
AbstractComparisonValidatorTestCase::testInvalidComparisonToValue in vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@dataProvider provideAllInvalidComparisons
AbstractComparisonValidatorTestCase::testThrowsConstraintExceptionIfNoValueOrProperty in vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@expectedException \Symfony\Component\Validator\Exception\ConstraintDefinitionException
AbstractComparisonValidatorTestCase::testValidComparisonToValue in vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php
@dataProvider provideAllValidComparisons
8 methods override AbstractComparisonValidatorTestCase::createConstraint()
EqualToValidatorTest::createConstraint in vendor/symfony/validator/Tests/Constraints/EqualToValidatorTest.php
GreaterThanOrEqualValidatorTest::createConstraint in vendor/symfony/validator/Tests/Constraints/GreaterThanOrEqualValidatorTest.php
GreaterThanValidatorTest::createConstraint in vendor/symfony/validator/Tests/Constraints/GreaterThanValidatorTest.php
IdenticalToValidatorTest::createConstraint in vendor/symfony/validator/Tests/Constraints/IdenticalToValidatorTest.php
LessThanOrEqualValidatorTest::createConstraint in vendor/symfony/validator/Tests/Constraints/LessThanOrEqualValidatorTest.php

... See full list

File

vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php, line 176

Class

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

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

protected abstract function createConstraint(array $options);