<?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_ReferenceSubscriberService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_document_manager.reference_subscriber' shared service.
     *
     * @return \Sulu\Bundle\DocumentManagerBundle\Reference\Subscriber\DocumentReferenceSubscriber
     */
    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.'DocumentManagerBundle'.\DIRECTORY_SEPARATOR.'Reference'.\DIRECTORY_SEPARATOR.'Subscriber'.\DIRECTORY_SEPARATOR.'DocumentReferenceSubscriber.php';

        return $container->privates['sulu_document_manager.reference_subscriber'] = new \Sulu\Bundle\DocumentManagerBundle\Reference\Subscriber\DocumentReferenceSubscriber(new RewindableGenerator(function () use ($container) {
            yield 'snippets' => ($container->privates['sulu_snippet.snippet_reference_provider'] ?? $container->load('getSuluSnippet_SnippetReferenceProviderService'));
            yield 'pages' => ($container->privates['sulu_page.reference_provider'] ?? $container->load('getSuluPage_ReferenceProviderService'));
        }, 2), ($container->privates['sulu_reference.reference_repository'] ?? $container->load('getSuluReference_ReferenceRepositoryService')));
    }
}
