class Distinct implements ParameterizedRule (View source)

Traits

Properties

protected array $options

Methods

string
__toString()

Convert the rule to a validation string.

string
formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

strict()

Compare values using strict comparisons.

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.

Return Value

string

protected string formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

Parameters

array $parameters

Return Value

string

Distinct strict()

Compare values using strict comparisons.

Return Value

Distinct

Distinct ignoreCase()

Ignore case when comparing string values.

Return Value

Distinct

array toArray()

Get the rule name followed by its parameters.

Return Value

array