MaxOccursRule
class MaxOccursRule extends AbstractMinMaxRule (View source)
Constants
SYMBOL_MAX_INCLUSIVE |
|
SYMBOL_MAX_EXCLUSIVE |
|
SYMBOL_MIN_INCLUSIVE |
|
SYMBOL_MIN_EXCLUSIVE |
|
SYMBOL_STRICT |
|
Methods
symbol()
Must return the comparison symbol.
name()
No description
testConditions(string $parameterName, $value, bool $itemType = false)
If maxOccurs is 'unbounded', no need to check occurrences count.
exceptionMessageOnTestFailure(string $parameterName, $value, bool $itemType = false)
No description
Details
at line 38
symbol()
Must return the comparison symbol.
in AbstractMinMaxRule at line 22
final
comparisonString()
at line 33
name()
at line 48
final
testConditions(string $parameterName, $value, bool $itemType = false)
If maxOccurs is 'unbounded', no need to check occurrences count.