mirror of
https://github.com/elyby/accounts.git
synced 2026-11-11 18:33:30 +05:30
23 lines
495 B
PHP
23 lines
495 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace api\components\Captcha\Events;
|
|
|
|
use Carbon\CarbonInterval;
|
|
|
|
final class CaptchaResultEvent extends CaptchaEvent {
|
|
|
|
/**
|
|
* @param \Carbon\CarbonInterval $duration the duration of unfailed request
|
|
*/
|
|
public function __construct(
|
|
string $provider,
|
|
public readonly bool $isValid,
|
|
public readonly CarbonInterval $duration,
|
|
array $config = [],
|
|
) {
|
|
parent::__construct($provider, $config);
|
|
}
|
|
|
|
}
|