AbstractSetOfValuesRule
class AbstractSetOfValuesRule extends AbstractRule (View source)
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
Details
at line 14
testConditions(string $parameterName, $value, bool $itemType = false)
at line 25
exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)
at line 30
static
getErrorMessageVariableName(string $parameterName)
at line 35
static
getParameterPassedValue(string $parameterName)
at line 43
abstract protected
mustApplyRuleOnAttribute()
Must check the attribute validity according to the current rule.