CoreFiles by mySites.guru
ExecutionContextFactoryInterface.php33 lines, 911 bytes, from Joomla_6.3.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 6.2.0-alpha3
md5
9012f7bef80f8643e91e9c5ce2ffafdd
sha1
d6d4b3a9cd61e041c72fc0accaf90b066dbfc057
sha256
0b23543fa958e7a476581d5b800e12f35ad48b82b5c4284188bddb2cae8a050e
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Validator\Context;

use Symfony\Component\Validator\Validator\ValidatorInterface;

/**
 * Creates instances of {@link ExecutionContextInterface}.
 *
 * You can use a custom factory if you want to customize the execution context
 * that is passed through the validation run.
 *
 * @author Bernhard Schussek <[email protected]>
 */
interface ExecutionContextFactoryInterface
{
    /**
     * Creates a new execution context.
     *
     * @param mixed $root The root value of the validated
     *                    object graph
     */
    public function createContext(ValidatorInterface $validator, mixed $root): ExecutionContextInterface;
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.