<?php
namespace ContainerMoqfxHo;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getSecurity_Firewall_Map_Context_CustomerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'security.firewall.map.context.customer' shared service.
*
* @return \Symfony\Bundle\SecurityBundle\Security\FirewallContext
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/Security/FirewallContext.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/ExceptionListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/EntryPoint/AuthenticationEntryPointInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/EntryPoint/FormAuthenticationEntryPoint.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/FirewallListenerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/AbstractListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Firewall/LogoutListener.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/security-bundle/Security/FirewallConfig.php';
$a = ($container->services['http_kernel'] ?? $container->getHttpKernelService());
if (isset($container->privates['security.firewall.map.context.customer'])) {
return $container->privates['security.firewall.map.context.customer'];
}
$b = ($container->services['.container.private.security.token_storage'] ?? $container->get_Container_Private_Security_TokenStorageService());
$c = ($container->privates['security.http_utils'] ?? $container->load('getSecurity_HttpUtilsService'));
return $container->privates['security.firewall.map.context.customer'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallContext(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['security.channel_listener'] ?? $container->load('getSecurity_ChannelListenerService'));
yield 1 => ($container->privates['security.context_listener.2'] ?? $container->load('getSecurity_ContextListener_2Service'));
yield 2 => ($container->privates['security.authentication.listener.form.customer'] ?? $container->load('getSecurity_Authentication_Listener_Form_CustomerService'));
yield 3 => ($container->privates['security.authentication.listener.anonymous.customer'] ?? $container->load('getSecurity_Authentication_Listener_Anonymous_CustomerService'));
yield 4 => ($container->privates['security.access_listener'] ?? $container->load('getSecurity_AccessListenerService'));
}, 5), new \Symfony\Component\Security\Http\Firewall\ExceptionListener($b, ($container->privates['security.authentication.trust_resolver'] ?? ($container->privates['security.authentication.trust_resolver'] = new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver())), $c, 'customer', new \Symfony\Component\Security\Http\EntryPoint\FormAuthenticationEntryPoint($a, $c, 'helpdesk_customer_login', false), NULL, NULL, ($container->privates['monolog.logger.security'] ?? $container->load('getMonolog_Logger_SecurityService')), false), new \Symfony\Component\Security\Http\Firewall\LogoutListener($b, $c, ($container->privates['security.event_dispatcher.customer'] ?? $container->load('getSecurity_EventDispatcher_CustomerService')), ['csrf_parameter' => '_csrf_token', 'csrf_token_id' => 'logout', 'logout_path' => 'helpdesk_customer_logout']), new \Symfony\Bundle\SecurityBundle\Security\FirewallConfig('customer', 'security.user_checker', '.security.request_matcher.01Y6ZVJ', true, false, 'user.provider', 'customer', 'security.authentication.form_entry_point.customer', NULL, NULL, [0 => 'form_login', 1 => 'anonymous'], NULL));
}
}