<?php

namespace ContainerRYWeSXx;

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 getApiPlatform_Jsonld_JsonStreamer_Write_ValueTransformer_IriService extends App_KernelProdContainer
{
    /*
     * Gets the private 'api_platform.jsonld.json_streamer.write.value_transformer.iri' shared service.
     *
     * @return \ApiPlatform\JsonLd\JsonStreamer\ValueTransformer\IriValueTransformer
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['api_platform.symfony.iri_converter'] ?? self::getApiPlatform_Symfony_IriConverterService($container));

        if (isset($container->privates['api_platform.jsonld.json_streamer.write.value_transformer.iri'])) {
            return $container->privates['api_platform.jsonld.json_streamer.write.value_transformer.iri'];
        }

        $instance = new \ApiPlatform\JsonLd\JsonStreamer\ValueTransformer\IriValueTransformer($a);

        if (isset($container->privates['api_platform.jsonld.json_streamer.write.value_transformer.iri'])) {
            return $container->privates['api_platform.jsonld.json_streamer.write.value_transformer.iri'];
        }

        return $container->privates['api_platform.jsonld.json_streamer.write.value_transformer.iri'] = $instance;
    }
}
