src/Bus/DeliveryChain/Middleware/LockingMiddleware.php
private function enqueue(MessageInterface $message, callable $next): void
    {
        $this->queue[] = function () use ($message, $next): void {
            $next($message);
        };
    }
private function enqueue(MessageInterface $message, callable $next): void
    {
        $this->queue[] = function () use ($message, $next): void {
            $next($message);
        };
    }
private function enqueue ( MessageInterface $ message , callable $ next ) : void { $ this -> queue [ ] = function ( ) use ( $ message , $ next ) : void { $ next ( $ message ) ; } ; }
Queues the execution of the next message instead of executing it
when it's added to the message bus
Queues the execution of the next message instead of executing it when it s added to the message bus