<?php

namespace ContainerYHymreF;

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 getSuluHeadless_ProviderResolver_SnippetService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_headless.provider_resolver.snippet' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\DataProviderResolver\SnippetDataProviderResolver
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['sulu_headless.structure_resolver'] ?? $container->load('getSuluHeadless_StructureResolverService'));

        if (isset($container->privates['sulu_headless.provider_resolver.snippet'])) {
            return $container->privates['sulu_headless.provider_resolver.snippet'];
        }

        return $container->privates['sulu_headless.provider_resolver.snippet'] = new \Sulu\Bundle\HeadlessBundle\Content\DataProviderResolver\SnippetDataProviderResolver(($container->privates['sulu_snippet.smart_content.snippet_data_provider'] ?? $container->load('getSuluSnippet_SmartContent_SnippetDataProviderService')), $a, ($container->privates['sulu_snippet.smart_content.data_provider.query_builder'] ?? $container->load('getSuluSnippet_SmartContent_DataProvider_QueryBuilderService')), ($container->services['sulu.content.mapper'] ?? self::getSulu_Content_MapperService($container)));
    }
}
