<?php

namespace ContainerMmke1fB;

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 getSuluDocumentManager_Subscriber_Core_MappingService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_document_manager.subscriber.core.mapping' shared service.
     *
     * @return \Sulu\Component\DocumentManager\Subscriber\Core\MappingSubscriber
     */
    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.'Component'.\DIRECTORY_SEPARATOR.'DocumentManager'.\DIRECTORY_SEPARATOR.'Subscriber'.\DIRECTORY_SEPARATOR.'Core'.\DIRECTORY_SEPARATOR.'MappingSubscriber.php';

        $a = ($container->privates['sulu_document_manager.metadata_factory'] ?? self::getSuluDocumentManager_MetadataFactoryService($container));

        if (isset($container->privates['sulu_document_manager.subscriber.core.mapping'])) {
            return $container->privates['sulu_document_manager.subscriber.core.mapping'];
        }
        $b = ($container->privates['sulu_document_manager.proxy_factory'] ?? self::getSuluDocumentManager_ProxyFactoryService($container));

        if (isset($container->privates['sulu_document_manager.subscriber.core.mapping'])) {
            return $container->privates['sulu_document_manager.subscriber.core.mapping'];
        }

        return $container->privates['sulu_document_manager.subscriber.core.mapping'] = new \Sulu\Component\DocumentManager\Subscriber\Core\MappingSubscriber($a, ($container->services['sulu_document_manager.property_encoder'] ?? self::getSuluDocumentManager_PropertyEncoderService($container)), $b, ($container->privates['sulu_document_manager.document_registry'] ??= new \Sulu\Component\DocumentManager\DocumentRegistry('en')));
    }
}
