hanwenbo/reflect
最新稳定版本:1.0.6
Composer 安装命令:
composer require hanwenbo/reflect
包简介
ezswoole
README 文档
README
反射权限路由,用于FaShop公司内部约束好的控制器文件,生成权限路由信息
$test = new \hanwenbo\reflect\Reflect( new Test ); // 设置禁止的方法 $test->setDenyFunctionList(['del','info']); // 获得类名字 var_dump( $test->getClassReflect()->getName() ); // 获得反射的方法列表 $list = $test->getFunctionListReflect(); foreach( $list as $row ){ var_dump( $row->getName() ); var_dump( $row->getTitle() ); var_dump( $row->getParam('method') ); }
| 方法 | |
|---|---|
| getName | |
| getTitle | |
| getParam | |
| getDocComment |
统计信息
- 总下载量: 709
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2019-02-24