Property | Type | Description | |
---|---|---|---|
$message | string | Contains the rule failure message | |
$strict | boolean | Strict check mode |
Method | Description | |
---|---|---|
isStrict ( ) : boolean | Check strict mode | |
setParameter ( string $params ) | Sets the value(s) and mode to check against | |
setStrict ( boolean $strict ) | Set strict mode | |
validate ( mixed $value, string $field = null, array $allFields = null ) : boolean | Performs validation on the given value |
public setParameter ( string $params ) | ||
$params | string |
protected string $message | ||
return | string |