Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Neos
Flow
Validation
Validator
DisjunctionValidator
PHP Class Neos\Flow\Validation\Validator\DisjunctionValidator
Inheritance:
extends
AbstractCompositeValidator
Exibir arquivo
Open project: neos/flow-development-collection
Class Usage Examples
Public Methods
Method
Description
validate
(
mixed
$value
) :
Neos\Error\Messages\Result
Checks if the given value is valid according to the validators of the disjunction.
Method Details
validate()
public
method
So only one validator has to be valid, to make the whole disjunction valid. Errors are only returned if all validators failed.
public
validate
(
mixed
$value
) :
Neos\Error\Messages\Result
$value
mixed
The value that should be validated
return
Neos\Error\Messages\Result