Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class ReCaptchaBuilderInvisible extends ReCaptchaBuilder { |
||
18 | |||
19 | /** |
||
20 | * ReCaptchaBuilderInvisible constructor. |
||
21 | * |
||
22 | * @param string $api_site_key |
||
23 | * @param string $api_secret_key |
||
24 | */ |
||
25 | public function __construct(string $api_site_key, string $api_secret_key) { |
||
26 | parent::__construct($api_site_key, $api_secret_key, 'invisible'); |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Write HTML <button> tag in your HTML code |
||
31 | * Insert before </form> tag |
||
32 | * |
||
33 | * @param string $buttonInnerHTML |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function htmlFormButton($buttonInnerHTML = 'Submit'): string { |
||
40 | } |
||
41 | |||
42 | } |