Current Path: > > opt > cloudlinux > alt-php55 > root > usr > share > > pear > Symfony > > Component > Validator
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
Constraints | Directory | - | - | |
Exception | Directory | - | - | |
Mapping | Directory | - | - | |
Resources | Directory | - | - | |
ClassBasedInterface.php | File | 572 bytes | December 18 2019 11:24:08. | |
Constraint.php | File | 6797 bytes | December 18 2019 11:24:08. | |
ConstraintValidator.php | File | 700 bytes | December 18 2019 11:24:08. | |
ConstraintValidatorFactory.php | File | 2297 bytes | December 18 2019 11:24:08. | |
ConstraintValidatorFactoryInterface.php | File | 775 bytes | December 18 2019 11:24:08. | |
ConstraintValidatorInterface.php | File | 899 bytes | December 18 2019 11:24:08. | |
ConstraintViolation.php | File | 4334 bytes | December 18 2019 11:24:08. | |
ConstraintViolationInterface.php | File | 4353 bytes | December 18 2019 11:24:08. | |
ConstraintViolationList.php | File | 3245 bytes | December 18 2019 11:24:08. | |
ConstraintViolationListInterface.php | File | 2008 bytes | December 18 2019 11:24:08. | |
DefaultTranslator.php | File | 5245 bytes | December 18 2019 11:24:08. | |
ExecutionContext.php | File | 8495 bytes | December 18 2019 11:24:08. | |
ExecutionContextInterface.php | File | 12355 bytes | December 18 2019 11:24:08. | |
GlobalExecutionContextInterface.php | File | 1937 bytes | December 18 2019 11:24:08. | |
GroupSequenceProviderInterface.php | File | 597 bytes | December 18 2019 11:24:08. | |
MetadataFactoryInterface.php | File | 990 bytes | December 18 2019 11:24:08. | |
MetadataInterface.php | File | 2891 bytes | December 18 2019 11:24:08. | |
ObjectInitializerInterface.php | File | 817 bytes | December 18 2019 11:24:08. | |
PropertyMetadataContainerInterface.php | File | 1209 bytes | December 18 2019 11:24:08. | |
PropertyMetadataInterface.php | File | 1258 bytes | December 18 2019 11:24:08. | |
Validation.php | File | 1098 bytes | December 18 2019 11:24:08. | |
ValidationVisitor.php | File | 6322 bytes | December 18 2019 11:24:08. | |
ValidationVisitorInterface.php | File | 3548 bytes | December 18 2019 11:24:08. | |
Validator.php | File | 6681 bytes | December 18 2019 11:24:08. | |
ValidatorBuilder.php | File | 10082 bytes | December 18 2019 11:24:08. | |
ValidatorBuilderInterface.php | File | 5499 bytes | December 18 2019 11:24:08. | |
ValidatorInterface.php | File | 3580 bytes | December 18 2019 11:24:08. | |
autoloader.php | File | 339 bytes | December 18 2019 11:24:08. |
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator; /** * A container for validation metadata. * * The container contains constraints that may belong to different validation * groups. Constraints for a specific group can be fetched by calling * {@link findConstraints}. * * Implement this interface to add validation metadata to your own metadata * layer. Each metadata may have named properties. Each property can be * represented by one or more {@link PropertyMetadataInterface} instances that * are returned by {@link getPropertyMetadata}. Since * <tt>PropertyMetadataInterface</tt> inherits from <tt>MetadataInterface</tt>, * each property may be divided into further properties. * * The {@link accept} method of each metadata implements the Visitor pattern. * The method should forward the call to the visitor's * {@link ValidationVisitorInterface::visit} method and additionally call * <tt>accept()</tt> on all structurally related metadata instances. * * For example, to store constraints for PHP classes and their properties, * create a class <tt>ClassMetadata</tt> (implementing <tt>MetadataInterface</tt>) * and a class <tt>PropertyMetadata</tt> (implementing <tt>PropertyMetadataInterface</tt>). * <tt>ClassMetadata::getPropertyMetadata($property)</tt> returns all * <tt>PropertyMetadata</tt> instances for a property of that class. Its * <tt>accept()</tt>-method simply forwards to <tt>ValidationVisitorInterface::visit()</tt> * and calls <tt>accept()</tt> on all contained <tt>PropertyMetadata</tt> * instances, which themselves call <tt>ValidationVisitorInterface::visit()</tt> * again. * * @author Bernhard Schussek <bschussek@gmail.com> */ interface MetadataInterface { /** * Implementation of the Visitor design pattern. * * Calls {@link ValidationVisitorInterface::visit} and then forwards the * <tt>accept()</tt>-call to all property metadata instances. * * @param ValidationVisitorInterface $visitor The visitor implementing the validation logic. * @param mixed $value The value to validate. * @param string|string[] $group The validation group to validate in. * @param string $propertyPath The current property path in the validation graph. */ public function accept(ValidationVisitorInterface $visitor, $value, $group, $propertyPath); /** * Returns all constraints for a given validation group. * * @param string $group The validation group. * * @return Constraint[] A list of constraint instances. */ public function findConstraints($group); }
SILENT KILLER Tool