var/cache/dev/ContainerTYTNpg4/getSecurity_EventDispatcher_MainService.php line 29

Open in your IDE?
  1. <?php
  2. namespace ContainerTYTNpg4;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSecurity_EventDispatcher_MainService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.event_dispatcher.main' shared service.
  12.      *
  13.      * @return \Symfony\Component\EventDispatcher\EventDispatcher
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         $container->privates['security.event_dispatcher.main'] = $instance = new \Symfony\Component\EventDispatcher\EventDispatcher();
  18.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  19.             return ($container->privates['security.logout.listener.default.main'] ?? $container->load('getSecurity_Logout_Listener_Default_MainService'));
  20.         }, => 'onLogout'], 64);
  21.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  22.             return ($container->privates['security.logout.listener.session.main'] ?? ($container->privates['security.logout.listener.session.main'] = new \Symfony\Component\Security\Http\EventListener\SessionLogoutListener()));
  23.         }, => 'onLogout'], 0);
  24.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  25.             return ($container->privates['security.logout.listener.remember_me.main'] ?? $container->load('getSecurity_Logout_Listener_RememberMe_MainService'));
  26.         }, => 'onLogout'], 0);
  27.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  28.             return ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService'));
  29.         }, => 'onLogout'], 0);
  30.         return $instance;
  31.     }
  32. }