| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ReCaptchaBuilderV2 extends ReCaptchaBuilder { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * ReCaptchaBuilderV2 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) { |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Write ReCAPTCHA HTML tag in your FORM |
||
| 31 | * Insert before </form> tag |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function htmlFormSnippet(): string { |
||
| 39 | } |