var/cache/dev/ContainerVJPm9f3/getSecurity_Firewall_Map_Context_ApiSecurityService.php line 38

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_ApiSecurityService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'security.firewall.map.context.api_security' 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_security'])) {
  23.             return $container->privates['security.firewall.map.context.api_security'];
  24.         }
  25.         $b = ($container->privates['App\\Security\\TokenAuthenticator'] ?? $container->load('getTokenAuthenticatorService'));
  26.         if (isset($container->privates['security.firewall.map.context.api_security'])) {
  27.             return $container->privates['security.firewall.map.context.api_security'];
  28.         }
  29.         return $container->privates['security.firewall.map.context.api_security'] = 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_security'] ?? $container->load('getSecurity_Authentication_Listener_Guard_ApiSecurityService'));
  32.             yield => ($container->privates['security.authentication.listener.json.api_security'] ?? $container->load('getSecurity_Authentication_Listener_Json_ApiSecurityService'));
  33.             yield => ($container->privates['security.authentication.listener.anonymous.api_security'] ?? $container->load('getSecurity_Authentication_Listener_Anonymous_ApiSecurityService'));
  34.             yield => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
  35.         }, 5), 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_security'$bNULLNULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), true), NULL, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('api_security''security.user_checker''.security.request_matcher.WIBWSCD'truetrue'security.user.provider.concrete.app_user_provider'NULL'App\\Security\\TokenAuthenticator'NULLNULL, [=> 'guard'=> 'json_login'=> 'anonymous'], NULL));
  36.     }
  37. }