<?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_Hj6p9T4Service extends App_KernelProdContainer
{
    /*
     * Gets the private '.messenger.handler_descriptor.hj6p9T4' 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/AsyncTaskCompletedMessageListener.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/AsyncTask/Service/TaskCompletedHandler/AsyncTaskCompletedHandlerRegistryInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/AsyncTask/Service/TaskCompletedHandler/AsyncTaskCompletedHandlerRegistry.php';

        $a = ($container->privates['App\\Authentication\\LegacyHandler\\Authentication'] ?? $container->load('getAuthenticationService'));

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

        $instance = new \Symfony\Component\Messenger\Handler\HandlerDescriptor(new \App\AsyncTask\Service\MessageListener\AsyncTaskCompletedMessageListener(new \App\AsyncTask\Service\TaskCompletedHandler\AsyncTaskCompletedHandlerRegistry(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\ManualMigrations\\AsyncTask\\AsyncManualMigrationCompletedHandler'] ?? $container->load('getAsyncManualMigrationCompletedHandlerService'));
            yield 1 => ($container->privates['App\\Process\\AsyncTask\\AsyncProcessCompletedHandler'] ?? $container->load('getAsyncProcessCompletedHandlerService'));
        }, 2)), $a, ($container->privates['monolog.logger.messenger'] ?? $container->load('getMonolog_Logger_MessengerService'))), []);

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

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