Файл: symfony-2.7/src/Symfony/Component/Validator/Constraints/Collection/Optional.php
Строк: 54
<?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 SymfonyComponentValidatorConstraintsCollection;
trigger_error('The '.__NAMESPACE__.'Optional class is deprecated since version 2.3 and will be removed in 3.0. Use the SymfonyComponentValidatorConstraintsOptional class instead.', E_USER_DEPRECATED);
use SymfonyComponentValidatorConstraintsOptional as BaseOptional;
/**
* @Annotation
* @Target({"PROPERTY", "METHOD", "ANNOTATION"})
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @deprecated since version 2.3, to be removed in 3.0.
* Use {@link SymfonyComponentValidatorConstraintsOptional} instead.
*/
class Optional extends BaseOptional
{
}