service-captcha/app/Services/GenerateTokenCommand/GenerateTokenUlidCommand.php

14 lines
273 B
PHP

<?php declare(strict_types=1);
namespace App\Services\GenerateTokenCommand;
use Illuminate\Support\Str;
final readonly class GenerateTokenUlidCommand extends GenerateTokenCommand
{
public function execute(): string
{
return (string) Str::ulid();
}
}