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

        $a = ($container->privates['App\\Data\\Service\\Record\\EntityRecordMappers\\EntityRecordMapperRunner'] ?? $container->load('getEntityRecordMapperRunnerService'));

        if (isset($container->privates['App\\Data\\LegacyHandler\\RecordHandler'])) {
            return $container->privates['App\\Data\\LegacyHandler\\RecordHandler'];
        }
        $b = ($container->privates['App\\Data\\Service\\Record\\RecordSaveHandlers\\RecordSaveHandlerRunner'] ?? $container->load('getRecordSaveHandlerRunnerService'));

        if (isset($container->privates['App\\Data\\LegacyHandler\\RecordHandler'])) {
            return $container->privates['App\\Data\\LegacyHandler\\RecordHandler'];
        }

        $instance = new \App\Data\LegacyHandler\RecordHandler((\dirname(__DIR__, 5).'/www/html'), (\dirname(__DIR__, 5).'/www/html/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', ($container->privates['App\\Engine\\LegacyHandler\\LegacyScopeState'] ??= new \App\Engine\LegacyHandler\LegacyScopeState()), ($container->privates['App\\Module\\LegacyHandler\\ModuleNameMapperHandler'] ?? self::getModuleNameMapperHandlerService($container)), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), ($container->privates['App\\Engine\\LegacyHandler\\AclHandler'] ?? $container->load('getAclHandlerService')), ($container->privates['App\\Module\\LegacyHandler\\Favorites\\FavoritesHandler'] ?? $container->load('getFavoritesHandlerService')), $a, $b);

        if (isset($container->privates['App\\Data\\LegacyHandler\\RecordHandler'])) {
            return $container->privates['App\\Data\\LegacyHandler\\RecordHandler'];
        }

        return $container->privates['App\\Data\\LegacyHandler\\RecordHandler'] = $instance;
    }
}
