Source for file Annotations.php
Documentation is available at Annotations.php
- 1: <?php
- 3: /**
- 4: * Nette Framework
- 5: *
- 11: */
- 15: /**
- 16: * Annotations support for PHP.
- 17: *
- 21: */
- 23: {
- 29: /**
- 30: * Has class/method/property specified annotation?
- 34: */
- 36: {
- 37: trigger_error(__METHOD__ . '() is deprecated; use getReflection()->hasAnnotation() instead.', E_USER_WARNING);
- 40: }
- 44: /**
- 45: * Returns an annotation value.
- 49: */
- 51: {
- 52: trigger_error(__METHOD__ . '() is deprecated; use getReflection()->getAnnotation() instead.', E_USER_WARNING);
- 55: }
- 59: /**
- 60: * Returns all annotations.
- 64: */
- 66: {
- 67: trigger_error(__METHOD__ . '() is deprecated; use getReflection()->getAnnotations() instead.', E_USER_WARNING);
- 78: }
- 79: }
- 81: }