class In implements Stringable

Properties

protected string $rule

The name of the rule.

protected array $values

The accepted values.

Methods

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

Create a new in rule instance.

string
__toString()

Convert the rule to a validation string.

Details

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

Create a new in rule instance.

Parameters

array|Arrayable|UnitEnum|string $values

at line 42
string __toString()

Convert the rule to a validation string.

Return Value

string

See also

ValidationRuleParser::parseParameters