Package.php 843 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\AnnotationManager;
  14. abstract class Package
  15. {
  16. public static function register(AnnotationManager $annotationManager)
  17. {
  18. $annotationManager->registry['length'] = 'mindplay\demo\annotations\LengthAnnotation';
  19. $annotationManager->registry['required'] = 'mindplay\demo\annotations\RequiredAnnotation';
  20. $annotationManager->registry['text'] = 'mindplay\demo\annotations\TextAnnotation';
  21. $annotationManager->registry['range'] = 'mindplay\demo\annotations\RangeAnnotation';
  22. }
  23. }