Distinct
class Distinct implements ParameterizedRule (View source)
Traits
Properties
| protected array | $options |
Methods
string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
from
FormatsParameters
ignoreCase()
Ignore case when comparing string values.
array
toArray()
Get the rule name followed by its parameters.
Details
string
__toString()
Convert the rule to a validation string.
protected string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
Distinct
strict()
Compare values using strict comparisons.
Distinct
ignoreCase()
Ignore case when comparing string values.
array
toArray()
Get the rule name followed by its parameters.