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