<?php
namespace Container7yukNkt;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getNotificationServiceService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'App\Service\NotificationService' shared autowired service.
*
* @return \App\Service\NotificationService
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/src/Service/NotificationService.php';
include_once \dirname(__DIR__, 4).'/src/Service/MailerService.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/MailerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Mailer.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport/TransportInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport/Transports.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/mailer/Transport.php';
$a = ($container->services['doctrine.orm.default_entity_manager'] ?? $container->getDoctrine_Orm_DefaultEntityManagerService());
if (isset($container->privates['App\\Service\\NotificationService'])) {
return $container->privates['App\\Service\\NotificationService'];
}
$b = ($container->services['event_dispatcher'] ?? $container->getEventDispatcherService());
if (isset($container->privates['App\\Service\\NotificationService'])) {
return $container->privates['App\\Service\\NotificationService'];
}
$c = ($container->privates['App\\Service\\FormulaireService'] ?? $container->getFormulaireServiceService());
if (isset($container->privates['App\\Service\\NotificationService'])) {
return $container->privates['App\\Service\\NotificationService'];
}
return $container->privates['App\\Service\\NotificationService'] = new \App\Service\NotificationService(($container->privates['App\\Repository\\NotificationRepository'] ?? $container->load('getNotificationRepositoryService')), ($container->privates['App\\Repository\\NotificationTypeRepository'] ?? $container->load('getNotificationTypeRepositoryService')), ($container->privates['App\\Repository\\UtilisateurMineRepository'] ?? $container->load('getUtilisateurMineRepositoryService')), new \App\Service\MailerService($a, ($container->privates['parameter_bag'] ?? ($container->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($container))), new \Symfony\Component\Mailer\Mailer((new \Symfony\Component\Mailer\Transport(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['mailer.transport_factory.null'] ?? $container->load('getMailer_TransportFactory_NullService'));
yield 1 => ($container->privates['mailer.transport_factory.sendmail'] ?? $container->load('getMailer_TransportFactory_SendmailService'));
yield 2 => ($container->privates['mailer.transport_factory.native'] ?? $container->load('getMailer_TransportFactory_NativeService'));
yield 3 => ($container->privates['mailer.transport_factory.smtp'] ?? $container->load('getMailer_TransportFactory_SmtpService'));
}, 4)))->fromStrings(['main' => $container->getEnv('MAILER_DSN')]), NULL, $b)), $c, ($container->privates['App\\Repository\\UserRepository'] ?? $container->getUserRepositoryService()), $a, ($container->privates['App\\Repository\\LogRepository'] ?? $container->load('getLogRepositoryService')));
}
}