var/cache/dev/ContainerFm2kyev/getSecurity_Firewall_Map_Context_MainService.php line 19

Open in your IDE?
  1. <?php
  2. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  3. // This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
  4. // Returns the private 'security.firewall.map.context.main' shared service.
  5. $a = ${($_ = isset($this->services['security.token_storage']) ? $this->services['security.token_storage'] : ($this->services['security.token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage())) && false ?: '_'};
  6. $b = ${($_ = isset($this->services['security.http_utils']) ? $this->services['security.http_utils'] : $this->load('getSecurity_HttpUtilsService.php')) && false ?: '_'};
  7. $c = new \Symfony\Component\Security\Http\Firewall\LogoutListener($a$b, new \Symfony\Component\Security\Http\Logout\DefaultLogoutSuccessHandler($b'/'), ['csrf_parameter' => '_csrf_token''csrf_token_id' => 'logout''logout_path' => '/logout']);
  8. $c->addHandler(new \Symfony\Component\Security\Http\Logout\CsrfTokenClearingLogoutHandler(${($_ = isset($this->services['security.csrf.token_storage']) ? $this->services['security.csrf.token_storage'] : $this->load('getSecurity_Csrf_TokenStorageService.php')) && false ?: '_'}));
  9. $c->addHandler(new \Symfony\Component\Security\Http\Logout\SessionLogoutHandler());
  10. $c->addHandler(${($_ = isset($this->services['social_user.logout_listener']) ? $this->services['social_user.logout_listener'] : $this->load('getSocialUser_LogoutListenerService.php')) && false ?: '_'});
  11. $c->addHandler(${($_ = isset($this->services['security.authentication.rememberme.services.simplehash.main']) ? $this->services['security.authentication.rememberme.services.simplehash.main'] : $this->load('getSecurity_Authentication_Rememberme_Services_Simplehash_MainService.php')) && false ?: '_'});
  12. return $this->services['security.firewall.map.context.main'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () {
  13.     yield => ${($_ = isset($this->services['security.channel_listener']) ? $this->services['security.channel_listener'] : $this->load('getSecurity_ChannelListenerService.php')) && false ?: '_'};
  14.     yield => ${($_ = isset($this->services['security.context_listener.0']) ? $this->services['security.context_listener.0'] : $this->load('getSecurity_ContextListener_0Service.php')) && false ?: '_'};
  15.     yield => ${($_ = isset($this->services['security.authentication.listener.form.main']) ? $this->services['security.authentication.listener.form.main'] : $this->load('getSecurity_Authentication_Listener_Form_MainService.php')) && false ?: '_'};
  16.     yield => ${($_ = isset($this->services['security.authentication.listener.rememberme.main']) ? $this->services['security.authentication.listener.rememberme.main'] : $this->load('getSecurity_Authentication_Listener_Rememberme_MainService.php')) && false ?: '_'};
  17.     yield => ${($_ = isset($this->services['security.authentication.listener.anonymous.main']) ? $this->services['security.authentication.listener.anonymous.main'] : $this->load('getSecurity_Authentication_Listener_Anonymous_MainService.php')) && false ?: '_'};
  18.     yield => ${($_ = isset($this->services['security.authentication.switchuser_listener.main']) ? $this->services['security.authentication.switchuser_listener.main'] : $this->load('getSecurity_Authentication_SwitchuserListener_MainService.php')) && false ?: '_'};
  19.     yield => ${($_ = isset($this->services['security.access_listener']) ? $this->services['security.access_listener'] : $this->load('getSecurity_AccessListenerService.php')) && false ?: '_'};
  20. }, 7), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($a, ${($_ = isset($this->services['security.authentication.trust_resolver']) ? $this->services['security.authentication.trust_resolver'] : ($this->services['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver('Symfony\\Component\\Security\\Core\\Authentication\\Token\\AnonymousToken''Symfony\\Component\\Security\\Core\\Authentication\\Token\\RememberMeToken'))) && false ?: '_'}, $b'main', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint(${($_ = isset($this->services['http_kernel']) ? $this->services['http_kernel'] : $this->getHttpKernelService()) && false ?: '_'}, $b'/login'false), NULLNULL, ${($_ = isset($this->services['monolog.logger.security']) ? $this->services['monolog.logger.security'] : $this->load('getMonolog_Logger_SecurityService.php')) && false ?: '_'}, false), $c, new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('main''security.user_checker''security.request_matcher.00qf1z7'truefalse'fos_user.user_provider.username_email''main''security.authentication.form_entry_point.main'NULLNULL, [=> 'switch_user'=> 'form_login'=> 'remember_me'=> 'anonymous'], ['parameter' => '_switch_user''role' => 'ROLE_ALLOWED_TO_SWITCH''stateless' => false]));