<?php
namespace ContainerTYTNpg4;
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 getSecurity_EventDispatcher_MainService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'security.event_dispatcher.main' shared service.
*
* @return \Symfony\Component\EventDispatcher\EventDispatcher
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['security.event_dispatcher.main'] = $instance = new \Symfony\Component\EventDispatcher\EventDispatcher();
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.default.main'] ?? $container->load('getSecurity_Logout_Listener_Default_MainService'));
}, 1 => 'onLogout'], 64);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.session.main'] ?? ($container->privates['security.logout.listener.session.main'] = new \Symfony\Component\Security\Http\EventListener\SessionLogoutListener()));
}, 1 => 'onLogout'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.remember_me.main'] ?? $container->load('getSecurity_Logout_Listener_RememberMe_MainService'));
}, 1 => 'onLogout'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [0 => function () use ($container) {
return ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService'));
}, 1 => 'onLogout'], 0);
return $instance;
}
}