class
Illuminate
/
Validation
/
Rules
/
ProhibitedIf
ProhibitedIf
Properties
Methods
public
__construct ( $condition ) : void
Create a new prohibited validation rule based on a condition.
Parameters
- $condition Closure |bool
public
__toString ( ) : string
Convert the rule to a validation string.