<?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 getSuluHeadless_EventSubscriber_NavigationInvalidationService extends App_KernelDevDebugContainer
{
    /**
     * Gets the private 'sulu_headless.event_subscriber.navigation_invalidation' shared service.
     *
     * @return \Sulu\Bundle\HeadlessBundle\EventSubscriber\NavigationInvalidationSubscriber
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'headless-bundle'.\DIRECTORY_SEPARATOR.'EventSubscriber'.\DIRECTORY_SEPARATOR.'NavigationInvalidationSubscriber.php';

        $a = ($container->services['sulu_document_manager.document_inspector'] ?? self::getSuluDocumentManager_DocumentInspectorService($container));

        if (isset($container->privates['sulu_headless.event_subscriber.navigation_invalidation'])) {
            return $container->privates['sulu_headless.event_subscriber.navigation_invalidation'];
        }
        $b = ($container->services['doctrine_phpcr.session'] ?? self::getDoctrinePhpcr_SessionService($container));

        if (isset($container->privates['sulu_headless.event_subscriber.navigation_invalidation'])) {
            return $container->privates['sulu_headless.event_subscriber.navigation_invalidation'];
        }
        $c = ($container->services['sulu_document_manager.live_session'] ?? self::getSuluDocumentManager_LiveSessionService($container));

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

        return $container->privates['sulu_headless.event_subscriber.navigation_invalidation'] = new \Sulu\Bundle\HeadlessBundle\EventSubscriber\NavigationInvalidationSubscriber(NULL, ($container->services['sulu_document_manager.property_encoder'] ?? self::getSuluDocumentManager_PropertyEncoderService($container)), $a, $b, $c);
    }
}
