SILENT KILLERPanel

Current Path: > > opt > cloudlinux > alt-php54 > > 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 ]

Files and Folders in: //opt/cloudlinux/alt-php54//root/usr/share/pear//Symfony/Component/Validator

NameTypeSizeLast ModifiedActions
Constraints Directory - -
Exception Directory - -
Mapping Directory - -
Resources Directory - -
ClassBasedInterface.php File 572 bytes December 18 2019 11:22:58.
Constraint.php File 6797 bytes December 18 2019 11:22:58.
ConstraintValidator.php File 700 bytes December 18 2019 11:22:58.
ConstraintValidatorFactory.php File 2297 bytes December 18 2019 11:22:58.
ConstraintValidatorFactoryInterface.php File 775 bytes December 18 2019 11:22:58.
ConstraintValidatorInterface.php File 899 bytes December 18 2019 11:22:58.
ConstraintViolation.php File 4334 bytes December 18 2019 11:22:58.
ConstraintViolationInterface.php File 4353 bytes December 18 2019 11:22:58.
ConstraintViolationList.php File 3245 bytes December 18 2019 11:22:58.
ConstraintViolationListInterface.php File 2008 bytes December 18 2019 11:22:58.
DefaultTranslator.php File 5245 bytes December 18 2019 11:22:58.
ExecutionContext.php File 8495 bytes December 18 2019 11:22:58.
ExecutionContextInterface.php File 12355 bytes December 18 2019 11:22:58.
GlobalExecutionContextInterface.php File 1937 bytes December 18 2019 11:22:58.
GroupSequenceProviderInterface.php File 597 bytes December 18 2019 11:22:58.
MetadataFactoryInterface.php File 990 bytes December 18 2019 11:22:58.
MetadataInterface.php File 2891 bytes December 18 2019 11:22:58.
ObjectInitializerInterface.php File 817 bytes December 18 2019 11:22:58.
PropertyMetadataContainerInterface.php File 1209 bytes December 18 2019 11:22:58.
PropertyMetadataInterface.php File 1258 bytes December 18 2019 11:22:58.
Validation.php File 1098 bytes December 18 2019 11:22:58.
ValidationVisitor.php File 6322 bytes December 18 2019 11:22:58.
ValidationVisitorInterface.php File 3548 bytes December 18 2019 11:22:58.
Validator.php File 6681 bytes December 18 2019 11:22:58.
ValidatorBuilder.php File 10082 bytes December 18 2019 11:22:58.
ValidatorBuilderInterface.php File 5499 bytes December 18 2019 11:22:58.
ValidatorInterface.php File 3580 bytes December 18 2019 11:22:58.
autoloader.php File 339 bytes December 18 2019 11:22:58.

Reading File: //opt/cloudlinux/alt-php54//root/usr/share/pear//Symfony/Component/Validator/MetadataInterface.php

<?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