ValidationAnnotationBase.php 596 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * This file is part of the php-annotation framework.
  4. *
  5. * (c) Rasmus Schultz <rasmus@mindplay.dk>
  6. *
  7. * This software is licensed under the GNU LGPL license
  8. * for more information, please see:
  9. *
  10. * <https://github.com/mindplay-dk/php-annotations>
  11. */
  12. namespace mindplay\demo\annotations;
  13. use mindplay\annotations\Annotation;
  14. /**
  15. * Abstract base class for validation annotations.
  16. */
  17. abstract class ValidationAnnotationBase extends Annotation
  18. {
  19. /**
  20. * @var string The error-message (or string identifier) to display on validation failure
  21. */
  22. public $message;
  23. }