<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'Sonata\UserBundle\Action\LoginAction' shared service.

include_once \dirname(__DIR__, 4).'\\vendor\\sonata-project\\user-bundle\\src\\Action\\LoginAction.php';

$this->services['Sonata\\UserBundle\\Action\\LoginAction'] = $instance = new \Sonata\UserBundle\Action\LoginAction(($this->services['twig'] ?? $this->getTwigService()), ($this->services['router'] ?? $this->getRouterService()), ($this->services['security.authorization_checker'] ?? $this->getSecurity_AuthorizationCheckerService()), ($this->services['sonata.admin.pool'] ?? $this->getSonata_Admin_PoolService()), ($this->services['sonata.admin.global_template_registry'] ?? $this->getSonata_Admin_GlobalTemplateRegistryService()), ($this->services['security.token_storage'] ?? $this->getSecurity_TokenStorageService()), ($this->services['session'] ?? $this->load('getSessionService.php')));

if ($this->has('security.csrf.token_manager')) {
    $instance->setCsrfTokenManager(($this->services['security.csrf.token_manager'] ?? $this->load('getSecurity_Csrf_TokenManagerService.php')));
}

return $instance;
