Files
panel-pelican-dev/app/Extensions/Captcha/Schemas/CaptchaSchemaInterface.php

32 lines
653 B
PHP
Raw Normal View History

<?php
namespace App\Extensions\Captcha\Schemas;
2026-01-27 11:36:07 +01:00
use BackedEnum;
use Filament\Schemas\Components\Component;
interface CaptchaSchemaInterface
{
public function getId(): string;
public function getName(): string;
/**
* @return array<string, string|string[]|bool|null>
*/
public function getConfig(): array;
public function isEnabled(): bool;
public function getFormComponent(): Component;
/**
* @return Component[]
*/
public function getSettingsForm(): array;
2026-01-27 11:36:07 +01:00
public function getIcon(): null|string|BackedEnum;
public function validateResponse(?string $captchaResponse = null): void;
}