jdr / event-recorder-tactician-bridge
Middleware for tactician to dispatch any recorded events
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-11-12 02:50:55 UTC
README
Middleware for league/tactician
to dispatch events stored by jdr/event-recorder
.
Install
Via Composer
$ composer require jdr/event-recorder-tactician-bridge
Usage
Add as a tactician middleware.
<?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()), // ... ]);
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ bin/phpspec run
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email dev@johanderuijter.nl instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.