2019年7月5日

获取类方法和注释

摘要: ``` // 这是一个获取类方法和注释的方法 public function generateMethod() { $r = new \ReflectionClass('\think\Build'); $methods = $r->getMethods(); $string = ''; foreach ($methods as $m) { $li... 阅读全文

posted @ 2019-07-05 15:36 果然朝辉 阅读(888) 评论(0) 推荐(0) 编辑

导航