<?php

namespace Container8hLddcF;

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_StructureResolverService extends App_KernelDevDebugContainer
{
    /**
     * Gets the public 'sulu_headless.structure_resolver' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\StructureResolver
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'StructureResolverInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'StructureResolver.php';

        $a = ($container->services['sulu_headless.content_resolver'] ?? $container->load('getSuluHeadless_ContentResolverService'));

        if (isset($container->services['sulu_headless.structure_resolver'])) {
            return $container->services['sulu_headless.structure_resolver'];
        }

        return $container->services['sulu_headless.structure_resolver'] = new \Sulu\Bundle\HeadlessBundle\Content\StructureResolver($a, ($container->services['sulu.content.structure_manager'] ?? self::getSulu_Content_StructureManagerService($container)), ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container)), ($container->privates['sulu_website.reference_store_pool'] ?? $container->load('getSuluWebsite_ReferenceStorePoolService')));
    }
}
