LaLiga-BackEnd/var/cache/dev/ContainerDm8zrDD/getLexikJwtAuthentication_G...

34 lines
1.8 KiB
PHP

<?php
namespace ContainerDm8zrDD;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getLexikJwtAuthentication_GenerateTokenCommandService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'lexik_jwt_authentication.generate_token_command' shared service.
*
* @return \Lexik\Bundle\JWTAuthenticationBundle\Command\GenerateTokenCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'lexik'.\DIRECTORY_SEPARATOR.'jwt-authentication-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'GenerateTokenCommand.php';
$container->services['lexik_jwt_authentication.generate_token_command'] = $instance = new \Lexik\Bundle\JWTAuthenticationBundle\Command\GenerateTokenCommand(($container->services['lexik_jwt_authentication.jwt_manager'] ?? $container->load('getLexikJwtAuthentication_JwtManagerService')), new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['security.user.provider.concrete.app_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_AppUserProviderService'));
}, 1));
$instance->setName('lexik:jwt:generate-token');
$instance->setDescription('Generates a JWT token for a given user.');
return $instance;
}
}