class NotIn implements Stringable (View source)

Properties

protected string $rule

The name of the rule.

protected array $values

The accepted values.

Methods

__construct(Arrayable|UnitEnum|array|string $values)

Create a new "not in" rule instance.

string
__toString()

Convert the rule to a validation string.

Details

__construct(Arrayable|UnitEnum|array|string $values)

Create a new "not in" rule instance.

Parameters

Arrayable|UnitEnum|array|string $values

string __toString()

Convert the rule to a validation string.

Return Value

string

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.