Valdi\Validator\OrCombine

class OrCombine

Validator to combine other validators with a logical “or”.

property invalidDetails

protected

Holds the invalid validators.

checkParameters($parameters)

Checks whether the given parameters fulfil: - At least three given - The first one is a Validator or a subclass of it

Parameters:
  • $parameters (array) – the validation parameters
isValid($value, $parameters)

{@inheritdoc}

Parameters:
  • $value
  • $parameters
getInvalidDetails()

{@inheritdoc}