Class In
Check if the input is in specified array
- Wei\Base
-
Wei\Validator\BaseValidator
-
Wei\Validator\In
Direct known subclasses
Wei\Validator\Tld
public
boolean
|
#
__invoke( mixed $input, $array =
Validate the input value |
protected
boolean
|
__call(),
__construct(),
__get(),
getOption(),
setOption()
|
t()
|
protected
string
|
$notInMessage
|
#
'%name% must be in %array%'
|
protected
string
|
$negativeMessage
The common message for negative validator |
#
'%name% must not be in %array%'
|
protected
boolean
|
$strict
|
#
false
|
protected
array
|
$array
|
$errors,
$name,
$negative,
$notStringMessage,
$validator
|
$providers,
$wei
|
$t
|