PropertyMetadataInterface.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Validator\Mapping;
  11. use Symfony\Component\Validator\ClassBasedInterface;
  12. use Symfony\Component\Validator\PropertyMetadataInterface as LegacyPropertyMetadataInterface;
  13. /**
  14. * Stores all metadata needed for validating the value of a class property.
  15. *
  16. * Most importantly, the metadata stores the constraints against which the
  17. * property's value should be validated.
  18. *
  19. * Additionally, the metadata stores whether objects stored in the property
  20. * should be validated against their class' metadata and whether traversable
  21. * objects should be traversed or not.
  22. *
  23. * @author Bernhard Schussek <bschussek@gmail.com>
  24. *
  25. * @see MetadataInterface
  26. * @see CascadingStrategy
  27. * @see TraversalStrategy
  28. */
  29. interface PropertyMetadataInterface extends MetadataInterface, LegacyPropertyMetadataInterface, ClassBasedInterface
  30. {
  31. }