class ArrayRule extends AbstractSetOfValuesRule (View source)

Constants

NAME

Methods

testConditions(string $parameterName, $value, bool $itemType = false)

No description

exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)

No description

static 
getErrorMessageVariableName(string $parameterName)

No description

static 
getParameterPassedValue(string $parameterName)

No description

mustApplyRuleOnAttribute()

Must check the attribute validity according to the current rule.

addValidationMethod(string $parameterName, $value)

No description

name()

No description

Details

testConditions(string $parameterName, $value, bool $itemType = false)

Parameters

string $parameterName
$value
bool $itemType

exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)

Parameters

string $parameterName
$value
bool $itemType

static getErrorMessageVariableName(string $parameterName)

Parameters

string $parameterName

static getParameterPassedValue(string $parameterName)

Parameters

string $parameterName

protected mustApplyRuleOnAttribute()

Must check the attribute validity according to the current rule.

protected addValidationMethod(string $parameterName, $value)

Parameters

string $parameterName
$value

name()