Revived API POST /api/v1/captcha.
Captcha validation has been adjusted.
This commit is contained in:
21
app/Dto/Repository/DataCaptchaRepository/DataCaptcha.php
Normal file
21
app/Dto/Repository/DataCaptchaRepository/DataCaptcha.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\Dto\Repository\DataCaptchaRepository;
|
||||
|
||||
final readonly class DataCaptcha
|
||||
{
|
||||
public function __construct(
|
||||
private int $captchaId,
|
||||
private array $coordinators,
|
||||
) { }
|
||||
|
||||
public function getCaptchaId(): int
|
||||
{
|
||||
return $this->captchaId;
|
||||
}
|
||||
|
||||
public function getCoordinators(): array
|
||||
{
|
||||
return $this->coordinators;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user