Skip to content

BooleanType

Requires the property’s value to be a boolean.

Backed by Quiote\Validator\BooleanValidator.

final class BooleanType

Since1.0.0
SourceRequest/Attribute/Constraint/BooleanType.php
PropertyTypeDescription
$message?``stringreadonly.

public function __construct(?string $message = null): mixed

ParameterTypeDescription
$message?``string

Returns mixed