<?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 getSlaCarrierWaitRuleService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Core\Support\Automation\Rule\SlaCarrierWaitRule' shared autowired service.
     *
     * @return \App\Core\Support\Automation\Rule\SlaCarrierWaitRule
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['App\\Core\\Support\\Service\\CarrierEmailSender'] ?? $container->load('getCarrierEmailSenderService'));

        if (isset($container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'])) {
            return $container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'];
        }
        $b = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'])) {
            return $container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'];
        }

        $instance = new \App\Core\Support\Automation\Rule\SlaCarrierWaitRule(new \App\Core\Support\Service\CarrierReminderSender($a, ($container->services['translator'] ?? self::getTranslatorService($container)), $b, ($container->privates['App\\Core\\Support\\Service\\SupportMessageBodyFormatter'] ?? $container->load('getSupportMessageBodyFormatterService')), ($container->privates['App\\Core\\Support\\Service\\SupportSignatureBuilder'] ?? $container->load('getSupportSignatureBuilderService'))));

        if (isset($container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'])) {
            return $container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'];
        }

        return $container->privates['App\\Core\\Support\\Automation\\Rule\\SlaCarrierWaitRule'] = $instance;
    }
}
