<?php

namespace ContainerXAyNPD7;

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 getSeedSupportTicketAutomationFlagsCommandService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Command\OneShot\SeedSupportTicketAutomationFlagsCommand' shared autowired service.
     *
     * @return \App\Command\OneShot\SeedSupportTicketAutomationFlagsCommand
     */
    public static function do($container, $lazyLoad = true)
    {
        $container->privates['App\\Command\\OneShot\\SeedSupportTicketAutomationFlagsCommand'] = $instance = new \App\Command\OneShot\SeedSupportTicketAutomationFlagsCommand(($container->privates['monolog.logger.console'] ?? $container->load('getMonolog_Logger_ConsoleService')), ($container->services['doctrine_mongodb.odm.default_document_manager'] ?? $container->load('getDoctrineMongodb_Odm_DefaultDocumentManagerService')), new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\Core\\Support\\Automation\\Rule\\AutoAssignByTypologyRule'] ?? $container->load('getAutoAssignByTypologyRuleService'));
            yield 1 => ($container->privates['App\\Core\\Support\\Automation\\Rule\\AutoCloseInactivityRule'] ??= new \App\Core\Support\Automation\Rule\AutoCloseInactivityRule());
            yield 2 => ($container->privates['App\\Core\\Support\\Automation\\Rule\\CarrierRepliedStatusRule'] ??= new \App\Core\Support\Automation\Rule\CarrierRepliedStatusRule());
            yield 3 => ($container->privates['App\\Core\\Support\\Automation\\Rule\\PriorityEscalationRule'] ?? $container->load('getPriorityEscalationRuleService'));
            yield 4 => ($container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'] ?? $container->load('getSlaCarrierWaitRuleService'));
        }, 5));

        $instance->setName('os:seed-support-ticket-automation-flags');
        $instance->setDescription('Seed the support-ticket automation flags (default bucket), automation disabled by default. Idempotent; reconciles the RULES map.');

        return $instance;
    }
}
