var/cache/dev/ContainerVJPm9f3/getSecurity_Firewall_Map_Context_ApiService.php line 40

Open in your IDE?
  1. <?php
  2. namespace ContainerVJPm9f3;
  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_ApiService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.firewall.map.context.api' 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-bundle/Security/FirewallConfig.php';
  21.         $a = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
  22.         if (isset($container->privates['security.firewall.map.context.api'])) {
  23.             return $container->privates['security.firewall.map.context.api'];
  24.         }
  25.         $b = ($container->privates['lexik_jwt_authentication.security.guard.jwt_token_authenticator'] ?? $container->load('getLexikJwtAuthentication_Security_Guard_JwtTokenAuthenticatorService'));
  26.         if (isset($container->privates['security.firewall.map.context.api'])) {
  27.             return $container->privates['security.firewall.map.context.api'];
  28.         }
  29.         return $container->privates['security.firewall.map.context.api'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () use ($container) {
  30.             yield => ($container->privates['security.channel_listener'] ?? $container->load('getSecurity_ChannelListenerService'));
  31.             yield => ($container->privates['security.authentication.listener.guard.api'] ?? $container->load('getSecurity_Authentication_Listener_Guard_ApiService'));
  32.             yield => ($container->privates['security.authentication.switchuser_listener.api'] ?? $container->load('getSecurity_Authentication_SwitchuserListener_ApiService'));
  33.             yield => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
  34.         }, 4), new \Symfony\Component\Security\Http\Firewall\ExceptionListener(($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService()), ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $a'api'$bNULLNULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), true), NULL, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('api''security.user_checker''.security.request_matcher.DRbgG1p'truetrue'security.user.provider.concrete.app_user_provider'NULL'lexik_jwt_authentication.jwt_token_authenticator'NULLNULL, [=> 'switch_user'=> 'guard'], ['parameter' => 'x-switch-user''role' => 'ROLE_ALLOWED_TO_SWITCH']));
  35.     }
  36. }