Captcha
Captcha trait
Table of Contents
Properties
- $captchaErrors : array<string|int, mixed>|null
- Captcha errors
Methods
- clearCaptchaErrors() : void
- Clear captcha errors
- getCaptchaErrors() : array<string|int, mixed>|null
- Get captcha errors
- verifyCaptcha() : bool
- Verify captcha
Properties
$captchaErrors
Captcha errors
protected
array<string|int, mixed>|null
$captchaErrors
= null
Methods
clearCaptchaErrors()
Clear captcha errors
public
clearCaptchaErrors() : void
getCaptchaErrors()
Get captcha errors
public
getCaptchaErrors() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullverifyCaptcha()
Verify captcha
public
verifyCaptcha(ServerRequestInterface $request, Validator|array<string|int, mixed>|null $data) : bool
Parameters
- $request : ServerRequestInterface
- $data : Validator|array<string|int, mixed>|null