public evaluateIsValid ( ) : boolean | ||
return | boolean | whether the validation succeeds |
public function evaluateIsValid()
{
if (($value = $this->getValidationValue($this->getValidationTarget())) === '') {
return true;
}
return $this->evaluateDataTypeCheck($value);
}