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

14 lines
280 B
PHP

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