你好,游客 登录 注册 搜索
背景:
阅读新闻

Go! 0.4.0 发布,PHP 的 AOP 库

[日期:2013-08-06] 来源:oschina.net  作者:Linux [字体:大 中 小]

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! 的下载地址:请点这里

linux
相关资讯       Go! 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款