<?php

namespace ContainerBnDMNJc;

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_ContentResolver_BlockService extends App_KernelProdContainer
{
    /*
     * Gets the private 'sulu_headless.content_resolver.block' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\Content\ContentTypeResolver\BlockResolver
     */
    public static function do($container, $lazyLoad = true)
    {
        if (true === $lazyLoad) {
            return $container->privates['sulu_headless.content_resolver.block'] = $container->createProxy('BlockResolverGhostDf5e6be', static fn () => \BlockResolverGhostDf5e6be::createLazyGhost(static fn ($proxy) => self::do($container, $proxy)));
        }

        return ($lazyLoad->__construct(($container->services['sulu_headless.content_resolver'] ?? $container->load('getSuluHeadless_ContentResolverService')), new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['sulu.content.type.block.hidden_visitor'] ??= new \Sulu\Component\Content\Types\Block\HiddenBlockVisitor());
            yield 1 => ($container->privates['sulu.content.type.block.segment_visitor'] ?? $container->load('getSulu_Content_Type_Block_SegmentVisitorService'));
            yield 2 => ($container->privates['sulu.content.type.block.schedule_visitor'] ?? $container->load('getSulu_Content_Type_Block_ScheduleVisitorService'));
        }, 3)) && false ?: $lazyLoad);
    }
}
