摘要: 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 阅读全文
posted @ 2012-11-21 01:38 solq 阅读(338) 评论(0) 推荐(0) 编辑