Attribute.php 359 B

123456789101112131415161718192021
  1. <?php
  2. namespace Doctrine\Common\Annotations\Annotation;
  3. /**
  4. * Annotation that can be used to signal to the parser
  5. * to check the attribute type during the parsing process.
  6. *
  7. * @Annotation
  8. */
  9. final class Attribute
  10. {
  11. /** @var string */
  12. public $name;
  13. /** @var string */
  14. public $type;
  15. /** @var bool */
  16. public $required = false;
  17. }