You are here

protected function Abstract2Dot5ApiTest::validate in Zircon Profile 8

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

Overrides AbstractValidatorTest::validate

9 calls to Abstract2Dot5ApiTest::validate()
Abstract2Dot5ApiTest::testInitializeObjectsOnFirstValidation in vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testPassConstraintToViolation in vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnClass in vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalDisabledOnReferenceEnabledOnClass in vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php
Abstract2Dot5ApiTest::testReferenceTraversalEnabledOnReferenceDisabledOnClass in vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php

... See full list

File

vendor/symfony/validator/Tests/Validator/Abstract2Dot5ApiTest.php, line 57

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);
}