mini\Validator\Validator::anyOf() Method

public

Signature

public function anyOf(array $validators): static

Parameters

Name Type Default Description
$validators array required Documentation missing

Returns

static

Documentation

Validate against any of the provided validators (JSON Schema: anyOf)

The value is valid if it passes at least one of the validators.

Source

src/Validator/Validator.php:664-667