jdr / event-recorder-tactician-bridge
战术家中间件,用于派发任何已记录的事件
0.0.1
2017-12-09 21:59 UTC
Requires
- php: ~7.0
- jdr/event-recorder: ^0.0.2
- league/tactician: ~1.0
Requires (Dev)
- phpspec/phpspec: ~2.5
This package is auto-updated.
Last update: 2024-09-12 02:30:20 UTC
README
league/tactician
的中间件,用于派发由 jdr/event-recorder
存储的事件。
安装
通过 Composer
$ composer require jdr/event-recorder-tactician-bridge
使用方法
将其添加为战术家中间件。
<?php use JDR\EventRecorder\EventDispatcher; use JDR\EventRecorder\RecordsEvents; use JDR\EventRecorderTacticianBridge\ReleaseRecordedEvents; use League\Tactician\CommandBus; $commandBus = new CommandBus([ new ReleaseRecordedEvents(new EventDispatcher(), new RecordsEvents()), // ... ]);
变更日志
请参阅 CHANGELOG 了解最近更改的详细信息。
测试
$ bin/phpspec run
贡献
请参阅 CONTRIBUTING 和 CONDUCT 了解详细信息。
安全
如果您发现任何与安全相关的问题,请通过电子邮件 dev@johanderuijter.nl 而不是使用问题跟踪器来报告。
致谢
许可证
MIT 许可证 (MIT)。有关更多信息,请参阅 许可证文件。