Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 669 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 669 Bytes

Addendum

DocBlock/JavaDoc annotations support for PHP5. Supporting single and multi valued annotations accessible through extended Reflection API.

Example annotations:

@SimpleAnnotation
@SingleValuedAnnotation(true)
@SingleValuedAnnotation(-3.141592)
@SingleValuedAnnotation('Hello World!')
@SingleValuedAnnotationWithArray({1, 2, 3})
@MultiValuedAnnotation(key = 'value', anotherKey = false, andMore = 1234)

Annotate classes, methods, properties.

Works also if --preserve-docs is disabled.

Checkout ShortTutorialByExample for a quick introduction to annotations using Addendum.