event-recorder-tactician-bridge
![Software License][ico-license]
, (*1)
Middleware for league/tactician
to dispatch events stored by jdr/event-recorder
., (*2)
Install
Via Composer, (*3)
``` bash
$ composer require jdr/event-recorder-tactician-bridge, (*4)
## Usage
Add as a tactician middleware.
``` php
<?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., (*5)
Testing
bash
$ bin/phpspec run
, (*6)
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*7)
Security
If you discover any security related issues, please email dev@johanderuijter.nl instead of using the issue tracker., (*8)
Credits
License
The MIT License (MIT). Please see License File for more information., (*9)