<?php

namespace ContainerAyoJmP9;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class get_Messenger_HandlerDescriptor_P0T7wghService extends App_KernelProdContainer
{
    /*
     * Gets the private '.messenger.handler_descriptor.P0T7wgh' shared service.
     *
     * @return \Symfony\Component\Messenger\Handler\HandlerDescriptor
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/vendor/symfony/messenger/Handler/HandlerDescriptor.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/AsyncTask/Service/MessageListener/AsyncTaskRunMessageListener.php';

        $a = ($container->privates['App\\AsyncTask\\Service\\Runner\\AsyncTaskRunnerRegistry'] ?? $container->load('getAsyncTaskRunnerRegistryService'));

        if (isset($container->privates['.messenger.handler_descriptor.P0T7wgh'])) {
            return $container->privates['.messenger.handler_descriptor.P0T7wgh'];
        }
        $b = ($container->privates['App\\Authentication\\LegacyHandler\\Authentication'] ?? $container->load('getAuthenticationService'));

        if (isset($container->privates['.messenger.handler_descriptor.P0T7wgh'])) {
            return $container->privates['.messenger.handler_descriptor.P0T7wgh'];
        }

        $instance = new \Symfony\Component\Messenger\Handler\HandlerDescriptor((new \App\AsyncTask\Service\MessageListener\AsyncTaskRunMessageListener($a, $b, ($container->privates['monolog.logger.messenger'] ?? $container->load('getMonolog_Logger_MessengerService'))))->__invoke(...), ['from_transport' => 'internal-async']);

        if (isset($container->privates['.messenger.handler_descriptor.P0T7wgh'])) {
            return $container->privates['.messenger.handler_descriptor.P0T7wgh'];
        }

        return $container->privates['.messenger.handler_descriptor.P0T7wgh'] = $instance;
    }
}
