class LengthRule extends AbstractLengthRule (View source)

Constants

SYMBOL_MAX_INCLUSIVE

SYMBOL_MAX_EXCLUSIVE

SYMBOL_MIN_INCLUSIVE

SYMBOL_MIN_EXCLUSIVE

SYMBOL_STRICT

Methods

symbol()

Must return the comparison symbol.

comparisonString()

No description

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

name()

No description

Details

symbol()

Must return the comparison symbol.

final comparisonString()

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

Parameters

string $parameterName
$value
bool $itemType

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

Parameters

string $parameterName
$value
bool $itemType

getErrorMessageVariableName(string $parameterName)

Parameters

string $parameterName

protected addValidationMethod(string $parameterName, $value)

Parameters

string $parameterName
$value

protected getValidationMethodName(string $parameterName)

Parameters

string $parameterName

name()