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

14 lines
280 B
PHP
Raw Normal View History

2023-08-22 00:15:35 +06:00
<?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();
}
}