service-captcha/app/Contracts/GenerateTokenCommand.php

12 lines
270 B
PHP
Raw Normal View History

2023-08-22 00:15:35 +06:00
<?php declare(strict_types=1);
namespace App\Contracts;
use Illuminate\Database\Eloquent\Builder;
interface GenerateTokenCommand
{
public function execute(): string;
public function unique(Builder $builder, string $field, int $numberAttempts = 10): string;
}