class
Illuminate
/
Validation
/
Rules
/
In
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
In
Implements
- Stringable
Properties
protected
$rule
string
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