Add captcha tokens management.

This commit is contained in:
2023-08-22 00:15:35 +06:00
parent d2b29e2225
commit 742b0feaf0
38 changed files with 832 additions and 6 deletions

View File

@@ -0,0 +1,24 @@
<?php declare(strict_types=1);
namespace App\Dto\Request\Private\CaptchaToken;
use App\Dto\Builder\CaptchaToken;
use App\Dto\Request\Dto;
final readonly class Index extends Dto
{
public function __construct(
private CaptchaToken $captchaTokenDto,
private int $page
) { }
public function getCaptchaTokenDto(): CaptchaToken
{
return $this->captchaTokenDto;
}
public function getPage(): int
{
return $this->page;
}
}