NotIn

class NotIn (View source)

Properties

protected $rule The name of the rule.
protected array $values The accepted values.

Methods

void __construct(array $values)

Create a new "not in" rule instance.

string __toString()

Convert the rule to a validation string.

Details

void __construct(array $values)

Create a new "not in" rule instance.

Parameters

array $values

Return Value

void

string __toString()

Convert the rule to a validation string.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Validation/Rules/NotIn.html