moxy/event
最新稳定版本:1.0.0
Composer 安装命令:
composer require moxy/event
包简介
A simple event emitter
README 文档
README
Mozy is a suite of loosely linked libraries for achieving "things" in PHP. Moxy\Event is Moxy's take on the classic mediater/event pattern.
Moxy\Event is designed as a mediator event library; all event emitters inherit from a central class which mediates events and listeners. You can implement the \Moxy\Event\Listener interface, or simply pass in any PHP callable.
Installation
$ composer require moxy/event:dev-master
Yet Another Event Library
Moxy as a collection is intended to be flexible; use only the bits you need, or merely a single library you really like. Moxy/Event is one part of the glue that binds the libraries together. For example, Moxy\Router issues a router.404 event in the case it is unable to do anything with a request; which allows you to create a 404 error handler.
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-02