1
<?php
2
/**
3
 * This file is part of the Shieldon package.
4
 *
5
 * (c) Terry L. <contact@terryl.in>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 * 
10
 * php version 7.1.0
11
 * 
12
 * @category  Web-security
13
 * @package   Shieldon
14
 * @author    Terry Lin <contact@terryl.in>
15
 * @copyright 2019 terrylinooo
16
 * @license   https://github.com/terrylinooo/shieldon/blob/2.x/LICENSE MIT
17
 * @link      https://github.com/terrylinooo/shieldon
18
 * @see       https://shieldon.io
19
 */
20

21
declare(strict_types=1);
22

23
namespace Shieldon\Firewall\Captcha;
24

25
/**
26
 * ComponentPrivider
27
 */
28
abstract class CaptchaProvider implements CaptchaInterface
29
{
30
    /**
31
     * Constroctor.
32
     */
33 3
    public function __construct()
34
    {
35

36
    }
37

38
    /**
39
     * Is denied?
40
     *
41
     * @return bool
42
     */
43
    abstract public function response(): bool;
44

45
    /**
46
     * Unique deny status code.
47
     *
48
     * @return string
49
     */
50
    abstract public function form(): string;
51
}

Read our documentation on viewing source code .

Loading