var/cache/dev/fr/vpauto/ContainerEwx37aC/getSecurity_Firewall_Map_Context_MainService.php line 18

Open in your IDE?
  1. <?php
  2. namespace ContainerEwx37aC;
  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__6).'/vendor/symfony/security-bundle/Security/FirewallContext.php';
  18.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
  19.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/Firewall/ExceptionListener.php';
  20.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/EntryPoint/AuthenticationEntryPointInterface.php';
  21.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/EntryPoint/FormAuthenticationEntryPoint.php';
  22.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/Firewall/FirewallListenerInterface.php';
  23.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
  24.         include_once \dirname(__DIR__6).'/vendor/symfony/security-http/Firewall/LogoutListener.php';
  25.         include_once \dirname(__DIR__6).'/vendor/symfony/security-bundle/Security/FirewallConfig.php';
  26.         $a = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
  27.         if (isset($container->privates['security.firewall.map.context.main'])) {
  28.             return $container->privates['security.firewall.map.context.main'];
  29.         }
  30.         $b = ($container->services['http_kernel'] ?? $container->getHttpKernelService());
  31.         if (isset($container->privates['security.firewall.map.context.main'])) {
  32.             return $container->privates['security.firewall.map.context.main'];
  33.         }
  34.         $c = ($container->privates['security.event_dispatcher.main'] ?? $container->load('getSecurity_EventDispatcher_MainService'));
  35.         if (isset($container->privates['security.firewall.map.context.main'])) {
  36.             return $container->privates['security.firewall.map.context.main'];
  37.         }
  38.         $d = ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService());
  39.         return $container->privates['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () use ($container) {
  40.             yield => ($container->privates['security.channel_listener'] ?? $container->load('getSecurity_ChannelListenerService'));
  41.             yield => ($container->privates['security.context_listener.1'] ?? $container->load('getSecurity_ContextListener_1Service'));
  42.             yield => ($container->privates['security.authentication.listener.guard.main'] ?? $container->load('getSecurity_Authentication_Listener_Guard_MainService'));
  43.             yield => ($container->privates['security.authentication.listener.form.main'] ?? $container->load('getSecurity_Authentication_Listener_Form_MainService'));
  44.             yield => ($container->privates['security.authentication.listener.rememberme.main'] ?? $container->load('getSecurity_Authentication_Listener_Rememberme_MainService'));
  45.             yield => ($container->privates['security.authentication.listener.anonymous.main'] ?? $container->load('getSecurity_Authentication_Listener_Anonymous_MainService'));
  46.             yield => ($container->privates['security.authentication.switchuser_listener.main'] ?? $container->load('getSecurity_Authentication_SwitchuserListener_MainService'));
  47.             yield => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
  48.         }, 8), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($d, ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $a'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($b$a'/security/login'false), NULLNULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), false), new \Symfony\Component\Security\Http\Firewall\LogoutListener($d$a$c, ['csrf_parameter' => '_csrf_token''csrf_token_id' => 'logout''logout_path' => '/security/logout']), new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('main''security.user_checker''.security.request_matcher.egPQlB3'truefalse'App\\Security\\UserProvider''main''security.authentication.form_entry_point.main'NULLNULL, [=> 'switch_user'=> 'guard'=> 'form_login'=> 'remember_me'=> 'anonymous'], ['role' => 'ROLE_SUPER_ADMIN''parameter' => '_switch_user']));
  49.     }
  50. }