var/cache/dev/ContainerYjrtpvM/getSecurity_Authentication_Listener_Guard_MainService.php line 21

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.authentication.listener.guard.main' shared service.
  6. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
  7. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/ListenerInterface.php';
  8. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Firewall/LegacyListenerTrait.php';
  9. include_once \dirname(__DIR__4).'/vendor/symfony/security-guard/Firewall/GuardAuthenticationListener.php';
  10. include_once \dirname(__DIR__4).'/vendor/symfony/security-guard/GuardAuthenticatorHandler.php';
  11. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Session/SessionAuthenticationStrategyInterface.php';
  12. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Session/SessionAuthenticationStrategy.php';
  13. $a = new \Symfony\Component\Security\Guard\GuardAuthenticatorHandler(($this->services['security.token_storage'] ?? ($this->services['security.token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage())), ($this->services['event_dispatcher'] ?? $this->getEventDispatcherService()), []);
  14. $a->setSessionAuthenticationStrategy(($this->privates['security.authentication.session_strategy'] ?? ($this->privates['security.authentication.session_strategy'] = new \Symfony\Component\Security\Http\Session\SessionAuthenticationStrategy('migrate'))));
  15. return $this->privates['security.authentication.listener.guard.main'] = new \Symfony\Component\Security\Guard\Firewall\GuardAuthenticationListener($a, ($this->privates['security.authentication.manager'] ?? $this->getSecurity_Authentication_ManagerService()), 'main', new RewindableGenerator(function () {
  16.     yield => ($this->privates['App\\Security\\AdminAuthenticator'] ?? $this->load('getAdminAuthenticatorService.php'));
  17.     yield => ($this->privates['App\\Security\\OwnerAuthenticator'] ?? $this->load('getOwnerAuthenticatorService.php'));
  18. }, 2), ($this->privates['monolog.logger.security'] ?? $this->load('getMonolog_Logger_SecurityService.php')));