protected evaluateIsValid ( ) : boolean | ||
return | boolean | whether the validation succeeds |
protected function evaluateIsValid()
{
$value = $this->getValidationValue($this->getValidationTarget());
$control = $this->findCaptchaControl();
return $control->validate(trim($value));
}