class
Illuminate
/
Validation
/
Rules
/
In
You are viewing an older version of the documentation. For the latest, please visit master documentation.
In
Properties
protected
$rule
The name of the rule.
Default: 'in'
protected
$values array
The accepted values.
Default: null
Methods
public
__construct ( array $values ) : void
Create a new in rule instance.
Parameters
- $values array
public
__toString ( ) : string
Convert the rule to a validation string.
See
- \Illuminate\Validation\ValidationRuleParser::parseParameters