<?php

namespace ContainerRBLbIxO;

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 getSuluSnippet_DocumentManager_EventSubscriberService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_snippet.document_manager.event_subscriber' shared service.
     *
     * @return \Sulu\Bundle\SnippetBundle\EventListener\DomainEventSubscriber
     */
    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.'SnippetBundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'DomainEventSubscriber.php';

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

        if (isset($container->privates['sulu_snippet.document_manager.event_subscriber'])) {
            return $container->privates['sulu_snippet.document_manager.event_subscriber'];
        }
        $b = ($container->services['sulu_document_manager.document_manager'] ?? self::getSuluDocumentManager_DocumentManagerService($container));

        if (isset($container->privates['sulu_snippet.document_manager.event_subscriber'])) {
            return $container->privates['sulu_snippet.document_manager.event_subscriber'];
        }

        return $container->privates['sulu_snippet.document_manager.event_subscriber'] = new \Sulu\Bundle\SnippetBundle\EventListener\DomainEventSubscriber($a, $b, ($container->services['sulu_document_manager.property_encoder'] ?? self::getSuluDocumentManager_PropertyEncoderService($container)));
    }
}
