vent:PHP变量访问事件系统

时间:2021-03-02 01:20:52
【文件属性】:
文件名称:vent:PHP变量访问事件系统
文件大小:11KB
文件格式:ZIP
更新时间:2021-03-02 01:20:52
PHP 发泄 PHP可变事件系统 | 质量/指标| 发布| 资料下载执照| | ----- | -------- | ------- | ------------- | -------- | | | | 安装 通过安装: php composer.phar require leedavis81/vent:dev-master 用法 您是否曾经需要在读取PHP变量时挂接事件? 甚至在类的范围(私有)内,您可能想确保完全不变。 通过挂接任何变量的读取或写入,可以轻松创建PHP变量事件。 <?php class Foo { use Vent \ VentTrait ; private $ bar ; public function __construct () { $ this -> registerEvent ( 'read' , '
【文件预览】:
vent-master
----src()
--------Vent()
----phpunit.xml.dist(694B)
----.travis.yml(371B)
----LICENSE(1KB)
----README.md(6KB)
----tests()
--------VentTest()
----.gitignore(36B)
----composer.json(619B)

网友评论