| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | trait AuthenticatesWithReCaptchaTrait |
||
| 11 | { |
||
| 12 | use UtilizesExtensionTrait; |
||
| 13 | |||
| 14 | protected function reCaptchaFormCheck(): string |
||
| 15 | { |
||
| 16 | return (new Hidden()) |
||
| 17 | ->setId($response = $this->reCaptchaResponse()) |
||
| 18 | ->setName($response) |
||
| 19 | ->toHtml(); |
||
| 20 | } |
||
| 21 | |||
| 22 | protected function reCaptchaResponse(): string |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function reCaptchaPolicy(string $response): ReCaptchaPolicy |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function reCaptcha(): ReCaptcha |
||
| 37 |