class AndValidator extends MetadataValidation

An 'And' rule validation used to combine other rules with an 'AND' logic relation between them.

Methods

jsonSerialize()

No description

getPropertyKeys()

Gets the keys for all the properties of this object.

__construct(array $rules)

Create a new instance of the validator with the given rules.

Details

jsonSerialize()

string[] getPropertyKeys()

Gets the keys for all the properties of this object.

Return Value

string[]

__construct(array $rules)

Create a new instance of the validator with the given rules.

Parameters

Name Type Description
$rules array The rules to use.

Constants

RULE_AND