4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Validator\Validator;
14 @trigger_error('The '.__NAMESPACE__.'\LegacyValidator class is deprecated since version 2.5 and will be removed in 3.0.', E_USER_DEPRECATED);
17 * A validator that supports both the API of Symfony < 2.5 and Symfony 2.5+.
19 * @author Bernhard Schussek <bschussek@gmail.com>
21 * @see \Symfony\Component\Validator\ValidatorInterface
22 * @see \Symfony\Component\Validator\Validator\ValidatorInterface
23 * @deprecated since version 2.5, to be removed in 3.0.
25 class LegacyValidator extends RecursiveValidator