class ExcludeWith implements ParameterizedRule

Traits

Methods

string
__toString()

Convert the rule to a validation string.

array
formatConditionalValues(array $values)

Format conditional comparison values without rounding floats.

string
formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

__construct(string $anotherField)

Create a new exclude_with rule instance.

array
toArray()

Get the rule name followed by its parameters.

Details

in FormatsParameters at line 12
string __toString()

Convert the rule to a validation string.

Return Value

string

in FormatsParameters at line 25
protected array formatConditionalValues(array $values)

Format conditional comparison values without rounding floats.

Parameters

array $values

Return Value

array

in FormatsParameters at line 40
protected string formatParameters(array $parameters)

Format parameters for a legacy validation rule string.

Parameters

array $parameters

Return Value

string

at line 17
__construct(string $anotherField)

Create a new exclude_with rule instance.

Parameters

string $anotherField

at line 24
array toArray()

Get the rule name followed by its parameters.

Return Value

array