<?php

namespace ContainerRbFOL6V;

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 getApiPlatform_Graphql_FieldsBuilderService extends App_KernelProdContainer
{
    /*
     * Gets the private 'api_platform.graphql.fields_builder' shared service.
     *
     * @return \ApiPlatform\Core\GraphQl\Type\FieldsBuilder
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['api_platform.metadata.resource.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Resource_MetadataFactory_CachedService());
        $b = ($container->privates['api_platform.graphql.types_container'] ?? ($container->privates['api_platform.graphql.types_container'] = new \ApiPlatform\Core\GraphQl\Type\TypesContainer()));
        $c = ($container->privates['api_platform.iri_converter'] ?? $container->getApiPlatform_IriConverterService());
        $d = ($container->privates['api_platform.pagination'] ?? $container->load('getApiPlatform_PaginationService'));

        $e = new \ApiPlatform\Core\GraphQl\Type\TypeBuilder($b, new \ApiPlatform\Core\GraphQl\Resolver\ResourceFieldResolver($c), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [
            'api_platform.graphql.fields_builder' => ['privates', 'api_platform.graphql.fields_builder', 'getApiPlatform_Graphql_FieldsBuilderService', true],
        ], [
            'api_platform.graphql.fields_builder' => '?',
        ]), $d);
        $f = ($container->privates['serializer.name_converter.metadata_aware'] ?? $container->getSerializer_NameConverter_MetadataAwareService());

        $g = new \ApiPlatform\Core\GraphQl\Serializer\SerializerContextBuilder($a, $f);

        $h = new \ApiPlatform\Core\GraphQl\Resolver\Stage\ReadStage($a, $c, ($container->privates['api_platform.collection_data_provider'] ?? $container->getApiPlatform_CollectionDataProviderService()), ($container->privates['api_platform.subresource_data_provider'] ?? $container->getApiPlatform_SubresourceDataProviderService()), $g, '_');
        $i = ($container->privates['api_platform.security.resource_access_checker'] ?? $container->getApiPlatform_Security_ResourceAccessCheckerService());

        $j = new \ApiPlatform\Core\GraphQl\Resolver\Stage\SecurityStage($a, $i);
        $k = new \ApiPlatform\Core\GraphQl\Resolver\Stage\SecurityPostDenormalizeStage($a, $i);
        $l = ($container->services['.container.private.serializer'] ?? $container->get_Container_Private_SerializerService());

        $m = new \ApiPlatform\Core\GraphQl\Resolver\Stage\SerializeStage($a, $l, $g, $d);
        $n = new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [], []);

        return $container->privates['api_platform.graphql.fields_builder'] = new \ApiPlatform\Core\GraphQl\Type\FieldsBuilder(($container->privates['api_platform.metadata.property.name_collection_factory.cached'] ?? $container->getApiPlatform_Metadata_Property_NameCollectionFactory_CachedService()), ($container->privates['api_platform.metadata.property.metadata_factory.cached'] ?? $container->getApiPlatform_Metadata_Property_MetadataFactory_CachedService()), $a, $b, $e, new \ApiPlatform\Core\GraphQl\Type\TypeConverter($e, $b, $a), new \ApiPlatform\Core\GraphQl\Resolver\Factory\ItemResolverFactory($h, $j, $k, $m, $n, $a), new \ApiPlatform\Core\GraphQl\Resolver\Factory\CollectionResolverFactory($h, $j, $k, $m, $n, $a, ($container->services['request_stack'] ?? ($container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack()))), new \ApiPlatform\Core\GraphQl\Resolver\Factory\ItemMutationResolverFactory($h, $j, $k, $m, new \ApiPlatform\Core\GraphQl\Resolver\Stage\DeserializeStage($a, $l, $g), new \ApiPlatform\Core\GraphQl\Resolver\Stage\WriteStage($a, ($container->privates['api_platform.data_persister'] ?? $container->load('getApiPlatform_DataPersisterService')), $g), new \ApiPlatform\Core\GraphQl\Resolver\Stage\ValidateStage($a, ($container->privates['api_platform.validator'] ?? $container->load('getApiPlatform_ValidatorService'))), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService, [], []), $a), new \ApiPlatform\Core\GraphQl\Resolver\Factory\ItemSubscriptionResolverFactory($h, $j, $m, $a, new \ApiPlatform\Core\GraphQl\Subscription\SubscriptionManager(($container->privates['api_platform.graphql.cache.subscription'] ?? $container->load('getApiPlatform_Graphql_Cache_SubscriptionService')), new \ApiPlatform\Core\GraphQl\Subscription\SubscriptionIdentifierGenerator(), $m, $c), NULL), ($container->privates['api_platform.filter_locator'] ?? $container->getApiPlatform_FilterLocatorService()), $d, $f, '_');
    }
}
