var/cache/dev/ContainerDCRsu7D/getSecurity_Firewall_Map_Context_MainService.php line 23

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  4. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  5. // Returns the private 'security.firewall.map.context.main' shared service.
  6. $a = ($this->services['security.token_storage'] ?? ($this->services['security.token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage()));
  7. $b = ($this->services['router'] ?? $this->getRouterService());
  8. $c = new \Symfony\Component\Security\Http\HttpUtils($b$b'{^https?://%s$}i''{^https://%s$}i');
  9. $d = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a$c, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($c'/'), ['csrf_parameter' => '_csrf_token''csrf_token_id' => 'logout''logout_path' => 'app_logout']);
  10. $d->addHandler(new \Symfony\Component\Security\Http\Logout\CsrfTokenClearingLogoutHandler(($this->privates['security.csrf.token_storage'] ?? $this->load('getSecurity_Csrf_TokenStorageService.php'))));
  11. $d->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
  12. return $this->privates['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () {
  13.     yield => ($this->privates['security.channel_listener'] ?? $this->load('getSecurity_ChannelListenerService.php'));
  14.     yield => ($this->privates['security.context_listener.0'] ?? $this->load('getSecurity_ContextListener_0Service.php'));
  15.     yield => ($this->privates['security.authentication.listener.guard.main'] ?? $this->load('getSecurity_Authentication_Listener_Guard_MainService.php'));
  16.     yield => ($this->privates['security.authentication.listener.anonymous.main'] ?? $this->load('getSecurity_Authentication_Listener_Anonymous_MainService.php'));
  17.     yield => ($this->privates['security.access_listener'] ?? $this->load('getSecurity_AccessListenerService.php'));
  18. }, 5), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, ($this->privates['security.authentication.trust_resolver'] ?? ($this->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver(NULLNULL))), $c'main', ($this->privates['App\\Security\\LoginFormAuthenticator'] ?? $this->load('getLoginFormAuthenticatorService.php')), NULLNULL, ($this->privates['monolog.logger.security'] ?? $this->load('getMonolog_Logger_SecurityService.php')), false), $d, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('main''security.user_checker'NULLtruefalse'security.user.provider.concrete.app_user_provider''main''App\\Security\\LoginFormAuthenticator'NULLNULL, [=> 'guard'=> 'anonymous'], NULL));