Property | Type | Description | |
---|---|---|---|
$haystack | haystack for search, can be array or string | ||
$identical | strong comparison |
Method | Description | |
---|---|---|
__construct ( string | array $haystack, boolean $identical = false ) | Setup validation rule | |
getTemplate ( ) : string | Get error template | |
validate ( string $input ) : boolean | Check input data |