Documentation

NotIn
in package

Table of Contents

$rule  : mixed
The name of the rule.
$values  : array<string|int, mixed>
The accepted values.
__construct()  : void
Create a new "not in" rule instance.
__toString()  : string
Convert the rule to a validation string.

Properties

$rule

The name of the rule.

protected mixed $rule = 'not_in'

$values

The accepted values.

protected array<string|int, mixed> $values

Methods

__construct()

Create a new "not in" rule instance.

public __construct(array<string|int, mixed> $values) : void
Parameters
$values : array<string|int, mixed>
Return values
void

__toString()

Convert the rule to a validation string.

public __toString() : string
Return values
string

Search results