class NotIn implements Stringable (View source)
| protected string | $rule | The name of the rule. | |
| protected array | $values | The accepted values. |
| void | __construct(Arrayable|BackedEnum|UnitEnum|array|string $values)
Create a new "not in" rule instance. | |
| string | __toString()
Convert the rule to a validation string. |
Create a new "not in" rule instance.
Convert the rule to a validation string.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Validation/Rules/NotIn.html