Symfony\Component\Config\Definition\Builder\NumericNodeDefinition::max
Ensures that the value is smaller than the given reference.
Signature
protected function max(mixed
$max )
Parameters
$max
— mixed
Returns
- NumericNodeDefinition
Errors/Exceptions
-
InvalidArgumentException
- when the constraint is inconsistent