ironbound/psr-14-wp
Composer 安装命令:
composer require ironbound/psr-14-wp
包简介
PSR-14 Events Implementation for WordPress
README 文档
README
Very simple PSR-14 Event Dispatcher for WordPress.
Usage
use IronBound\Psr14WP\EventDispatcher; use function IronBound\Psr14WP\listen; listen( static function( Your_Event $event ) { // Do something with $event } ); $event_dispatcher = new EventDispatcher(); $dispatched = $event_dispatcher->dispatch( new Your_Event() );
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2019-12-28