<?php

namespace ContainerBnDMNJc;

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 getFosHttpCache_EventListener_InvalidationService extends App_KernelProdContainer
{
    /*
     * Gets the private 'fos_http_cache.event_listener.invalidation' shared service.
     *
     * @return \FOS\HttpCacheBundle\EventListener\InvalidationListener
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->services['fos_http_cache.cache_manager'] ?? self::getFosHttpCache_CacheManagerService($container));

        if (isset($container->privates['fos_http_cache.event_listener.invalidation'])) {
            return $container->privates['fos_http_cache.event_listener.invalidation'];
        }
        $b = ($container->services['router'] ?? self::getRouterService($container));

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

        return $container->privates['fos_http_cache.event_listener.invalidation'] = new \FOS\HttpCacheBundle\EventListener\InvalidationListener($a, $b, ($container->privates['fos_http_cache.rule_matcher.must_invalidate'] ?? self::getFosHttpCache_RuleMatcher_MustInvalidateService($container)), NULL);
    }
}
