You are here

protected function Abstract2Dot5ApiTest::validate in Plug 7

Overrides AbstractValidatorTest::validate

11 calls to Abstract2Dot5ApiTest::validate()
Abstract2Dot5ApiTest::testInitializeObjectsOnFirstValidation in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testPassConstraintToViolation in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnClass in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnReferenceEnabledOnClass in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalEnabledOnReferenceDisabledOnClass in lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php

... See full list

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Validator/Abstract2Dot5ApiTest.php, line 56

Class

Abstract2Dot5ApiTest
Verifies that a validator satisfies the API of Symfony 2.5+.

Namespace

Symfony\Component\Validator\Tests\Validator

Code

protected function validate($value, $constraints = null, $groups = null) {
  return $this->validator
    ->validate($value, $constraints, $groups);
}