<?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 getRecordSaveHandlerRunnerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Data\Service\Record\RecordSaveHandlers\RecordSaveHandlerRunner' shared autowired service.
     *
     * @return \App\Data\Service\Record\RecordSaveHandlers\RecordSaveHandlerRunner
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/RecordSaveHandlerRunnerInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/RecordSaveHandlerRunner.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/ModuleSaveHandlerTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/RecordFieldSaveHandlerTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/RecordFieldSaveHandlerRegistry.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/RecordSaveHandlers/RecordFieldTypeSaveHandlerRegistry.php';

        $a = ($container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRegistry'] ?? $container->load('getRecordSaveHandlerRegistryService'));

        if (isset($container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'])) {
            return $container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'];
        }
        $b = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'])) {
            return $container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'];
        }

        $instance = new \App\Data\Service\Record\RecordSaveHandlers\RecordSaveHandlerRunner(new \App\Data\Service\Record\RecordSaveHandlers\RecordFieldSaveHandlerRegistry(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\Module\\Documents\\Service\\SaveHandlers\\CreateDocumentRevisionSaveHandler'] ?? $container->load('getCreateDocumentRevisionSaveHandlerService'));
        }, 1)), new \App\Data\Service\Record\RecordSaveHandlers\RecordFieldTypeSaveHandlerRegistry(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\Module\\Service\\Fields\\Attachments\\SaveHandlers\\AttachmentFieldSaveHandler'] ?? $container->load('getAttachmentFieldSaveHandlerService'));
            yield 1 => ($container->privates['App\\Module\\Service\\Fields\\File\\SaveHandlers\\FileFieldSaveHandler'] ?? $container->load('getFileFieldSaveHandlerService'));
            yield 2 => ($container->privates['App\\Module\\Service\\Fields\\Image\\SaveHandlers\\ImageFieldSaveHandler'] ?? $container->load('getImageFieldSaveHandlerService'));
            yield 3 => ($container->privates['App\\Module\\Service\\Fields\\LineItems\\SaveHandlers\\LineItemsSaveHandler'] ?? $container->load('getLineItemsSaveHandlerService'));
        }, 4)), $a, $b);

        if (isset($container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'])) {
            return $container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'];
        }

        return $container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'] = $instance;
    }
}
