<?php

namespace ContainerRYWeSXx;

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 getToulivRoutingRuleRepositoryService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Repository\ToulivRoutingRuleRepository' shared autowired service.
     *
     * @return \App\Repository\ToulivRoutingRuleRepository
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['serializer'] ?? self::getSerializerService($container));

        if (isset($container->privates['App\\Repository\\ToulivRoutingRuleRepository'])) {
            return $container->privates['App\\Repository\\ToulivRoutingRuleRepository'];
        }

        $instance = new \App\Repository\ToulivRoutingRuleRepository(($container->services['doctrine_mongodb'] ?? self::getDoctrineMongodbService($container)), $a);

        if (isset($container->privates['App\\Repository\\ToulivRoutingRuleRepository'])) {
            return $container->privates['App\\Repository\\ToulivRoutingRuleRepository'];
        }

        return $container->privates['App\\Repository\\ToulivRoutingRuleRepository'] = $instance;
    }
}
