<?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 getSulu_Content_Type_Block_GlobalBlockVisitorService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu.content.type.block.global_block_visitor' shared service.
     *
     * @return \Sulu\Component\Content\Types\Metadata\GlobalBlocksTypedFormMetadataVisitor
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'FormMetadata'.\DIRECTORY_SEPARATOR.'TypedFormMetadataVisitorInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'FormMetadata'.\DIRECTORY_SEPARATOR.'FormMetadataVisitorInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Component'.\DIRECTORY_SEPARATOR.'Content'.\DIRECTORY_SEPARATOR.'Types'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'GlobalBlocksTypedFormMetadataVisitor.php';

        $a = ($container->privates['sulu_admin.metadata_provider_registry'] ?? $container->load('getSuluAdmin_MetadataProviderRegistryService'));

        if (isset($container->privates['sulu.content.type.block.global_block_visitor'])) {
            return $container->privates['sulu.content.type.block.global_block_visitor'];
        }

        return $container->privates['sulu.content.type.block.global_block_visitor'] = new \Sulu\Component\Content\Types\Metadata\GlobalBlocksTypedFormMetadataVisitor($a);
    }
}
