<?php

namespace ContainerS8JkUPu;

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 getSuluCustomUrls_EventSubscriber_InvalidationService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_custom_urls.event_subscriber.invalidation' shared service.
     *
     * @return \Sulu\Component\CustomUrl\Document\Subscriber\InvalidationSubscriber
     */
    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.'CustomUrl'.\DIRECTORY_SEPARATOR.'Document'.\DIRECTORY_SEPARATOR.'Subscriber'.\DIRECTORY_SEPARATOR.'InvalidationSubscriber.php';

        $a = ($container->services['sulu_custom_urls.manager'] ?? self::getSuluCustomUrls_ManagerService($container));

        if (isset($container->privates['sulu_custom_urls.event_subscriber.invalidation'])) {
            return $container->privates['sulu_custom_urls.event_subscriber.invalidation'];
        }
        $b = ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container));

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

        return $container->privates['sulu_custom_urls.event_subscriber.invalidation'] = new \Sulu\Component\CustomUrl\Document\Subscriber\InvalidationSubscriber($a, $b, NULL, ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
    }
}
