You are here

class LegacyValidator in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Validator/LegacyValidator.php \Symfony\Component\Validator\Validator\LegacyValidator

A validator that supports both the API of Symfony < 2.5 and Symfony 2.5+.

@since 2.5

@author Bernhard Schussek <bschussek@gmail.com>

Hierarchy

Expanded class hierarchy of LegacyValidator

Deprecated

since version 2.5, to be removed in 3.0.

See also

\Symfony\Component\Validator\ValidatorInterface

\Symfony\Component\Validator\Validator\ValidatorInterface

2 files declare their use of LegacyValidator
LegacyValidator2Dot5ApiTest.php in vendor/symfony/validator/Tests/Validator/LegacyValidator2Dot5ApiTest.php
LegacyValidatorLegacyApiTest.php in vendor/symfony/validator/Tests/Validator/LegacyValidatorLegacyApiTest.php

File

vendor/symfony/validator/Validator/LegacyValidator.php, line 27

Namespace

Symfony\Component\Validator\Validator
View source
class LegacyValidator extends RecursiveValidator {

}

Members

Namesort descending Modifiers Type Description Overrides
RecursiveValidator::$contextFactory protected property
RecursiveValidator::$metadataFactory protected property
RecursiveValidator::$objectInitializers protected property
RecursiveValidator::$validatorFactory protected property
RecursiveValidator::getMetadataFactory public function Returns the factory for metadata instances. Overrides ValidatorInterface::getMetadataFactory
RecursiveValidator::getMetadataFor public function Returns the metadata for the given value. Overrides MetadataFactoryInterface::getMetadataFor
RecursiveValidator::hasMetadataFor public function Returns whether the class is able to return metadata for the given value. Overrides MetadataFactoryInterface::hasMetadataFor
RecursiveValidator::inContext public function Returns a validator in the given execution context. Overrides ValidatorInterface::inContext
RecursiveValidator::startContext public function Starts a new validation context and returns a validator for that context. Overrides ValidatorInterface::startContext
RecursiveValidator::testConstraints private static function
RecursiveValidator::testGroups private static function
RecursiveValidator::validate public function Validates a value against a constraint or a list of constraints. Overrides ValidatorInterface::validate
RecursiveValidator::validateProperty public function Validates a property of an object against the constraints specified for this property. Overrides ValidatorInterface::validateProperty
RecursiveValidator::validatePropertyValue public function Validates a value against the constraints specified for an object's property. Overrides ValidatorInterface::validatePropertyValue
RecursiveValidator::validateValue public function Validates a value against a constraint or a list of constraints. Overrides ValidatorInterface::validateValue
RecursiveValidator::__construct public function Creates a new validator.