class NotIn implements Stringable

Properties

protected string $rule

The name of the rule.

protected array $values

The accepted values.

Methods

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

Create a new "not in" rule instance.

string
__toString()

Convert the rule to a validation string.

Details

at line 30
__construct(array|Arrayable|string|UnitEnum $values)

Create a new "not in" rule instance.

Parameters

array|Arrayable|string|UnitEnum $values

at line 42
string __toString()

Convert the rule to a validation string.

Return Value

string