Class NoneOf
Check if the input is NOT valid by all of specified rules
-
Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\SomeOf
-
Wei\Validator\NoneOf
Methods summary
public
boolean
|
#
__invoke( $input, array $rules = array(), mixed $__ = null )
Validate the input value
Parameters
- $input
- $__ Avoid compatible error
- $rules
-
- $__
-
Returns
boolean
Overrides
|
protected
boolean
|
#
doValidate( mixed $input )
Validate the input value (ignore the $negative property)
Validate the input value (ignore the $negative property)
Parameters
- $input
- The input to be validated
Returns
boolean
Overrides
|
Methods inherited from Wei\Validator\BaseValidator
addError(),
getErrors(),
getFirstMessage(),
getJoinedMessage(),
getName(),
hasError(),
isString(),
isValid(),
loadTranslationMessages(),
setMessages(),
setName(),
storeOption()
|
Properties summary
protected
string
|
$invalidMessage
|
#
'%name% must be passed by all of these rules'
|
protected
boolean
|
$combineMessages
Whether combine messages into single one or not
Whether combine messages into single one or not
|
|