AbstractLengthRule
class AbstractLengthRule extends AbstractMinMaxRule (View source)
Gathers [min|max|]Length rules.
Constants
SYMBOL_MAX_INCLUSIVE |
|
SYMBOL_MAX_EXCLUSIVE |
|
SYMBOL_MIN_INCLUSIVE |
|
SYMBOL_MIN_EXCLUSIVE |
|
SYMBOL_STRICT |
|
Methods
testConditions(string $parameterName, $value, bool $itemType = false)
No description
exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)
No description
getErrorMessageVariableName(string $parameterName)
No description
addValidationMethod(string $parameterName, $value)
No description
getValidationMethodName(string $parameterName)
No description
Details
in AbstractMinMaxRule at line 20
abstract
symbol()
Must return the comparison symbol.