class Illuminate / Validation / Rules / NotIn

NotIn

Properties

protected

$rule string

The name of the rule.

Default: 'not_in'
protected

$values array

The accepted values.

Default: null

Methods

public

__construct ( array $values ) : void

Create a new "not in" rule instance.

Parameters

  • $values array
public

__toString ( ) : string

Convert the rule to a validation string.