ProhibitedIf
class ProhibitedIf (View source)
Properties
Closure|bool | $condition | The condition that validates the attribute. |
Methods
void
string
__toString()
Convert the rule to a validation string.
Details
void
__construct(Closure|bool $condition)
Create a new prohibited validation rule based on a condition.
string
__toString()
Convert the rule to a validation string.