Validator\OrCombine

class OrCombine

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

property invalid

protected

Holds the invalid validators.

checkParameters($parameters)

Checks whether the given parameters fullfil: - 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}