Go! 是一个 PHP 5.4 库,让 PHP 支持 AOP 面向方面编程方法,无需 PECL 扩展、Runkit、evals 或者 DI 容器支持。可使用 XDebug 轻松调试。
Go! 0.4.0 改进记录:
- Privileged advice for aspect allows you to access private and protected properties and methods of objects inside advice.
- Better integration with composer.
- "True" pointcut references give the ability to compose a complex pointcut from a simple pointcuts.
- Pointcut now accepts "$this" in references to point to the current aspect instance.
- Intercepting system functions such as fopen(), file_get_contents(), etc.
- An annotation property pointcut was added.
- The ability to declare multiple interfaces and/or traits with single DeclareParent.
- A DeclareError interceptor was added
Go! 的下载地址:请点这里
