src/Viserio/Component/Bus/Provider/QueueingBusServiceProvider.php
public function getFactories(): array
    {
        return [
            QueueingDispatcherContract::class => [self::class, 'registerBusQueueingDispatcher'],
            QueueingDispatcher::class         => static function (ContainerInterface $container) {
                return $container->get(QueueingDispatcherContract::class);
            },
            'bus' => static function (ContainerInterface $container) {
                return $container->get(QueueingDispatcherContract::class);
            },
        ];
    }
public function getFactories(): array
    {
        return [
            QueueingDispatcherContract::class => [self::class, 'registerBusQueueingDispatcher'],
            QueueingDispatcher::class         => static function (ContainerInterface $container) {
                return $container->get(QueueingDispatcherContract::class);
            },
            'bus' => static function (ContainerInterface $container) {
                return $container->get(QueueingDispatcherContract::class);
            },
        ];
    }
{@inheritdoc}