In

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