Valdi
0.12.0
Manual
Getting Started
Validators
Own Rules
The Rules Data Structure
API
Valdi\RulesBuilder
Valdi\ValidationException
Valdi\Validator
Valdi\ValidatorException
Valdi\Validator\AbstractArray
Valdi\Validator\AbstractFilter
Valdi\Validator\AbstractParametrizedValidator
Valdi\Validator\Boolean
Valdi\Validator\Contains
Valdi\Validator\DateTime
Valdi\Validator\InSet
Valdi\Validator\OrCombine
Valdi\Validator\Required
Valdi\Validator\ValidatorInterface
Valdi
Docs
»
Valdi\Validator\Boolean
View page source
Valdi\Validator\Boolean
¶
class
Boolean
¶
Validator for booleans.
isValid
(
$value
,
$parameters
)
¶
{
@
inheritdoc
}
Parameters:
$value
–
$parameters
–
getInvalidDetails
(
)
¶
{
@
inheritdoc
}