Download the PHP package yuanzhihai/think-aop without Composer
On this page you can find all versions of the php package yuanzhihai/think-aop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yuanzhihai/think-aop
More information about yuanzhihai/think-aop
Files in yuanzhihai/think-aop
Download yuanzhihai/think-aop
More information about yuanzhihai/think-aop
Files in yuanzhihai/think-aop
Vendor yuanzhihai
Package think-aop
Short Description aop aspect 切片 for the thinkphp6+ plugin
License MIT
Package think-aop
Short Description aop aspect 切片 for the thinkphp6+ plugin
License MIT
Please rate this library. Is it a good library?
Informations about the package think-aop
think-aop
Perfect compatibility thinkphp6+
安装
AOP 相关配置 config/aop.php 配置
首先让我们编写待切入类
其次新增对应的 UserAspect
测试,在app\controller\Index 修改代码 eg:
输出结果
切入顺序
如果有多个切面类对同一个类方法进行切入, 会按照配置文件中顺序执行
All versions of think-aop with dependencies
PHP Build Version
Package Version
The package yuanzhihai/think-aop contains the following files
Loading the files please wait ....