lamoda / tactician-locking-middleware
This package is abandoned and no longer maintained.
No replacement package was suggested.
Tactician command bus middleware for blocking commands execution inside of other running command
1.0.0
2020-02-06 21:05 UTC
Requires
- php: ^7.1
- league/tactician: ^1.0
Requires (Dev)
- phpstan/phpstan: ^0.12.9
- phpstan/phpstan-phpunit: ^0.12.6
- phpunit/phpunit: ^7.5.20
This package is auto-updated.
Last update: 2023-06-10 20:14:12 UTC
README
Updated version of core Locking Middleware plugin. Can handle \Throwable, not only \Exception.
Installation
Composer
composer require lamoda/tactician-locking-middleware
Configuration
use Lamoda\TacticianLockingMiddleware\LockingMiddleware; use League\Tactician\CommandBus; $lockingMiddleware = new LockingMiddleware(); $commandBus = new CommandBus([ $lockingMiddleware, // ... your other middleware... ]);