NotIn
class NotIn implements Stringable (View source)
Properties
protected string | $rule | The name of the rule. |
|
protected array | $values | The accepted values. |
Methods
void
__construct(Arrayable|BackedEnum|UnitEnum|array|string $values)
Create a new "not in" rule instance.
string
__toString()
Convert the rule to a validation string.
Details
void
__construct(Arrayable|BackedEnum|UnitEnum|array|string $values)
Create a new "not in" rule instance.
string
__toString()
Convert the rule to a validation string.