| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > addendum |
|
addendum
|
| 2 | 1 | 30 |
| 贡献者 | 讨论 | 代码提交 |
概述
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.
创建时间:2014-05-06 16:31
标签:
