var/cache/dev/Container9J9tzGK/getSecurity_Firewall_Map_Context_MainService.php line 45

Open in your IDE?
  1. <?php
  2. namespace Container9J9tzGK;
  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_Firewall_Map_Context_MainService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.firewall.map.context.main' shared service.
  12.      *
  13.      * @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext
  14.      */
  15.     public static function do($container$lazyLoad true)
  16.     {
  17.         include_once \dirname(__DIR__4).'/vendor/symfony/security-bundle/Security/FirewallContext.php';
  18.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
  19.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/ExceptionListener.php';
  20.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/EntryPoint/AuthenticationEntryPointInterface.php';
  21.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/EntryPoint/FormAuthenticationEntryPoint.php';
  22.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/FirewallListenerInterface.php';
  23.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
  24.         include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/LogoutListener.php';
  25.         include_once \dirname(__DIR__4).'/vendor/symfony/security-bundle/Security/FirewallConfig.php';
  26.         $a = ($container->services['http_kernel'] ?? $container->getHttpKernelService());
  27.         if (isset($container->privates['security.firewall.map.context.main'])) {
  28.             return $container->privates['security.firewall.map.context.main'];
  29.         }
  30.         $b = ($container->privates['security.event_dispatcher.main'] ?? $container->load('getSecurity_EventDispatcher_MainService'));
  31.         if (isset($container->privates['security.firewall.map.context.main'])) {
  32.             return $container->privates['security.firewall.map.context.main'];
  33.         }
  34.         $c = ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService());
  35.         $d = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
  36.         return $container->privates['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () use ($container) {
  37.             yield => ($container->privates['security.channel_listener'] ?? $container->load('getSecurity_ChannelListenerService'));
  38.             yield => ($container->privates['security.context_listener.1'] ?? $container->load('getSecurity_ContextListener_1Service'));
  39.             yield => ($container->privates['security.authentication.listener.form.main'] ?? $container->load('getSecurity_Authentication_Listener_Form_MainService'));
  40.             yield => ($container->privates['security.authentication.listener.rememberme.main'] ?? $container->load('getSecurity_Authentication_Listener_Rememberme_MainService'));
  41.             yield => ($container->privates['security.authentication.listener.anonymous.main'] ?? $container->load('getSecurity_Authentication_Listener_Anonymous_MainService'));
  42.             yield => ($container->privates['security.authentication.switchuser_listener.main'] ?? $container->load('getSecurity_Authentication_SwitchuserListener_MainService'));
  43.             yield => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
  44.         }, 7), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($c, ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $d'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($a$d'/connexion'false), NULLNULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), false), new \Symfony\Component\Security\Http\Firewall\LogoutListener($c$d$b, ['csrf_parameter' => '_csrf_token''csrf_token_id' => 'logout''logout_path' => '/deconnexion']), new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('main''App\\Domain\\User\\Symfony\\Security\\Checker\\UserChecker''.security.request_matcher.3UEFixr'truefalse'security.user.provider.concrete.user_provider''main''security.authentication.form_entry_point.main'NULLNULL, [=> 'switch_user'=> 'form_login'=> 'remember_me'=> 'anonymous'], ['parameter' => '_switch_user''role' => 'ROLE_ALLOWED_TO_SWITCH']));
  45.     }
  46. }