Property | Type | Description | |
---|---|---|---|
$min | integer | Minimal string length. |
Method | Description | |
---|---|---|
__construct ( integer $min ) | Constructor. | |
getMin ( ) : integer | Returns the minimal string length. | |
isValid ( mixed $value ) : boolean | Validates a value. | |
setMin ( integer $min ) : self | Sets the minimal string length. |
public __construct ( integer $min ) | ||
$min | integer | Minimal string length (value length must be greater) |