Property | Type | Description | |
---|---|---|---|
$max | integer | Maximal string length. |
Method | Description | |
---|---|---|
__construct ( integer $max ) | Constructor. | |
getMax ( ) : integer | Returns the maximal string length. | |
isValid ( mixed $value ) : boolean | Validates a value. | |
setMax ( integer $max ) : self | Sets the maximal string length. |
public __construct ( integer $max ) | ||
$max | integer | Maximal string length (value length must be lower) |