<?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 getAsyncTaskRunnerRegistryService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\AsyncTask\Service\Runner\AsyncTaskRunnerRegistry' shared autowired service.
     *
     * @return \App\AsyncTask\Service\Runner\AsyncTaskRunnerRegistry
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/AsyncTask/Service/Runner/AsyncTaskRunnerRegistryInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/AsyncTask/Service/Runner/AsyncTaskRunnerRegistry.php';

        $instance = new \App\AsyncTask\Service\Runner\AsyncTaskRunnerRegistry(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\ManualMigrations\\AsyncTask\\AsyncManualMigrationRunner'] ?? $container->load('getAsyncManualMigrationRunnerService'));
            yield 1 => ($container->privates['App\\Process\\AsyncTask\\AsyncProcessRunner'] ?? $container->load('getAsyncProcessRunnerService'));
        }, 2));

        if (isset($container->privates['App\\AsyncTask\\Service\\Runner\\AsyncTaskRunnerRegistry'])) {
            return $container->privates['App\\AsyncTask\\Service\\Runner\\AsyncTaskRunnerRegistry'];
        }

        return $container->privates['App\\AsyncTask\\Service\\Runner\\AsyncTaskRunnerRegistry'] = $instance;
    }
}
