privates['console.command.messenger_setup_transports'] = $instance = new \Symfony\Component\Messenger\Command\SetupTransportsCommand(($container->privates['messenger.receiver_locator'] ?? $container->load('getMessenger_ReceiverLocatorService')), [0 => 'async', 1 => 'failed']); $instance->setName('messenger:setup-transports'); $instance->setDescription('Prepare the required infrastructure for the transport'); return $instance; } }