mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
614 B
PHP
28 lines
614 B
PHP
<?php
|
|
|
|
namespace App\Facades;
|
|
|
|
use App\Contracts\CaptchaDriver;
|
|
use App\Services\Captcha\CaptchaManager;
|
|
use Illuminate\Support\Facades\Facade;
|
|
|
|
/**
|
|
* Provider-agnostic captcha facade.
|
|
*
|
|
* @method static CaptchaDriver active()
|
|
* @method static bool enabled()
|
|
* @method static bool activeOn(string $surface)
|
|
* @method static array available()
|
|
* @method static array rules()
|
|
* @method static CaptchaDriver driver(string|null $driver = null)
|
|
*
|
|
* @see CaptchaManager
|
|
*/
|
|
class Captcha extends Facade
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return 'captcha.manager';
|
|
}
|
|
}
|