<?php

namespace ContainerOQlxh73;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getAkeneo_Pim_Structure_Query_GetAttributesService extends KernelProdContainer
{
    /*
     * Gets the private 'akeneo.pim.structure.query.get_attributes' shared service.
     *
     * @return \Akeneo\Pim\Structure\Bundle\Query\PublicApi\Attribute\Cache\LRUCachedGetAttributes
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Component/Query/PublicApi/AttributeType/GetAttributes.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Tool/Component/StorageUtils/Cache/CachedQueryInterface.php';
        include_once \dirname(__DIR__, 4).'/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Structure/Bundle/Query/PublicApi/Attribute/Cache/LRUCachedGetAttributes.php';

        $a = ($container->privates['akeneo.pim.structure.query.sql_get_attributes'] ?? $container->load('getAkeneo_Pim_Structure_Query_SqlGetAttributesService'));

        if (isset($container->privates['akeneo.pim.structure.query.get_attributes'])) {
            return $container->privates['akeneo.pim.structure.query.get_attributes'];
        }

        return $container->privates['akeneo.pim.structure.query.get_attributes'] = new \Akeneo\Pim\Structure\Bundle\Query\PublicApi\Attribute\Cache\LRUCachedGetAttributes($a);
    }
}
