Zend\Validator\Callback::isValid
Returns true if and only if the set callback returns for the provided $value
Signature
public function isValid(mixed
$value,
[mixed
$context = null] )
Parameters
$value
— mixed$context
— mixed- Additional context to provide to the callback
Returns
- bool