摘要:
https://github.com/eriknyk/addendum/blob/master/README.md<?phprequire_once 'annotations.php';class Persistent{ }/** @Persistent */class Person { // some code}$reflection = new ReflectionAnnotatedClass('Person'); // by class nameecho $reflection->hasAnnotation('Persistent 阅读全文