<?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 getSuluAdmin_StructureFormMetadataLoaderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_admin.structure_form_metadata_loader' shared service.
     *
     * @return \Sulu\Bundle\AdminBundle\Metadata\FormMetadata\StructureFormMetadataLoader
     */
    public static function do($container, $lazyLoad = true)
    {
        if (true === $lazyLoad) {
            return $container->privates['sulu_admin.structure_form_metadata_loader'] = $container->createProxy('StructureFormMetadataLoaderGhost8782533', static fn () => \StructureFormMetadataLoaderGhost8782533::createLazyGhost(static fn ($proxy) => self::do($container, $proxy)));
        }

        return ($lazyLoad->__construct(($container->services['sulu_page.structure.factory'] ?? self::getSuluPage_Structure_FactoryService($container)), ($container->privates['sulu_admin.form_metadata.form_metadata_mapper'] ?? $container->load('getSuluAdmin_FormMetadata_FormMetadataMapperService')), ($container->services['sulu_core.webspace.webspace_manager'] ?? self::getSuluCore_Webspace_WebspaceManagerService($container)), ($container->privates['sulu_admin.field_metadata_validator.chain'] ?? $container->load('getSuluAdmin_FieldMetadataValidator_ChainService')), $container->parameters['sulu.content.structure.default_types'], $container->parameters['sulu_core.locales'], ($container->targetDir.''.'/sulu/form-structures'), false) && false ?: $lazyLoad);
    }
}
