ProhibitedIfDeclined
class ProhibitedIfDeclined implements ParameterizedRule (View source)
Traits
Methods
string
formatParameters(array $parameters)
Format parameters for a legacy validation rule string.
from
FormatsParameters
__construct(string $field)
Create a new prohibited_if_declined rule instance.
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.
__construct(string $field)
Create a new prohibited_if_declined rule instance.
array
toArray()
Get the rule name followed by its parameters.