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\Mapping;
14 use Symfony\Component\Validator\ClassBasedInterface;
15 use Symfony\Component\Validator\PropertyMetadataInterface as LegacyPropertyMetadataInterface;
18 * Stores all metadata needed for validating the value of a class property.
20 * Most importantly, the metadata stores the constraints against which the
21 * property's value should be validated.
23 * Additionally, the metadata stores whether objects stored in the property
24 * should be validated against their class' metadata and whether traversable
25 * objects should be traversed or not.
27 * @author Bernhard Schussek <bschussek@gmail.com>
29 * @see MetadataInterface
30 * @see CascadingStrategy
31 * @see TraversalStrategy
33 interface PropertyMetadataInterface extends MetadataInterface, LegacyPropertyMetadataInterface, ClassBasedInterface