var/cache/dev_press_site/ContainerKDiunqc/getSecurity_EventDispatcher_MainService.php line 29

Open in your IDE?
  1. <?php
  2. namespace ContainerKDiunqc;
  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\\CheckPassportEvent', [=> function () use ($container) {
  19.             return ($container->privates['security.listener.main.user_provider'] ?? $container->load('getSecurity_Listener_Main_UserProviderService'));
  20.         }, => 'checkPassport'], 2048);
  21.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [=> function () use ($container) {
  22.             return ($container->privates['security.listener.session.main'] ?? $container->load('getSecurity_Listener_Session_MainService'));
  23.         }, => 'onSuccessfulLogin'], 0);
  24.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  25.             return ($container->privates['security.logout.listener.legacy_success_listener.main'] ?? $container->load('getSecurity_Logout_Listener_LegacySuccessListener_MainService'));
  26.         }, => 'onLogout'], 0);
  27.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  28.             return ($container->privates['security.logout.listener.session.main'] ?? ($container->privates['security.logout.listener.session.main'] = new \Symfony\Component\Security\Http\EventListener\SessionLogoutListener()));
  29.         }, => 'onLogout'], 0);
  30.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [=> function () use ($container) {
  31.             return ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService'));
  32.         }, => 'preCheckCredentials'], 256);
  33.         $instance->addListener('security.authentication.success', [=> function () use ($container) {
  34.             return ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService'));
  35.         }, => 'postCheckCredentials'], 256);
  36.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [=> function () use ($container) {
  37.             return ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService'));
  38.         }, => 'checkPassport'], 1024);
  39.         $instance->addListener('security.interactive_login', [=> function () use ($container) {
  40.             return ($container->privates['App\\EventSubscriber\\SignedCookieSubscriber'] ?? $container->getSignedCookieSubscriberService());
  41.         }, => 'setAuthSuccessFlag'], 10);
  42.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [=> function () use ($container) {
  43.             return ($container->privates['security.listener.check_authenticator_credentials'] ?? $container->load('getSecurity_Listener_CheckAuthenticatorCredentialsService'));
  44.         }, => 'checkPassport'], 0);
  45.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [=> function () use ($container) {
  46.             return ($container->privates['security.listener.password_migrating'] ?? $container->load('getSecurity_Listener_PasswordMigratingService'));
  47.         }, => 'onLoginSuccess'], 0);
  48.         $instance->addListener('security.interactive_login', [=> function () use ($container) {
  49.             return ($container->privates['sonata.user.listener.last_login'] ?? $container->load('getSonata_User_Listener_LastLoginService'));
  50.         }, => 'onSecurityInteractiveLogin'], 0);
  51.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [=> function () use ($container) {
  52.             return ($container->privates['security.listener.csrf_protection'] ?? $container->load('getSecurity_Listener_CsrfProtectionService'));
  53.         }, => 'checkPassport'], 512);
  54.         $instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [=> function () use ($container) {
  55.             return ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService'));
  56.         }, => 'onLogout'], 0);
  57.         return $instance;
  58.     }
  59. }