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

        $a = ($container->privates['App\\Data\\LegacyHandler\\PreparedStatementHandler'] ?? $container->load('getPreparedStatementHandlerService'));

        if (isset($container->privates['App\\Module\\Documents\\LegacyHandler\\BaseDocumentsManager'])) {
            return $container->privates['App\\Module\\Documents\\LegacyHandler\\BaseDocumentsManager'];
        }

        $instance = new \App\Module\Documents\LegacyHandler\BaseDocumentsManager($a);

        if (isset($container->privates['App\\Module\\Documents\\LegacyHandler\\BaseDocumentsManager'])) {
            return $container->privates['App\\Module\\Documents\\LegacyHandler\\BaseDocumentsManager'];
        }

        return $container->privates['App\\Module\\Documents\\LegacyHandler\\BaseDocumentsManager'] = $instance;
    }
}
