Middleware for league/tactician
to dispatch events stored by jdr/event-recorder
.
Via Composer
$ composer require jdr/event-recorder-tactician-bridge
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()),
// ...
]);
Please see CHANGELOG for more information what has changed recently.
$ bin/phpspec run
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.