The start of something beautiful
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Container6Szx89D;
|
||||
|
||||
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 App_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).'/vendor/symfony/console/Command/Command.php';
|
||||
include_once \dirname(__DIR__, 4).'/vendor/lexik/jwt-authentication-bundle/Command/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.users_in_memory'] ??= new \Symfony\Component\Security\Core\User\InMemoryUserProvider([]));
|
||||
}, 1));
|
||||
|
||||
$instance->setName('lexik:jwt:generate-token');
|
||||
$instance->setDescription('Generates a JWT token for a given user.');
|
||||
|
||||
return $instance;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user