class Rule

Single validation rule or condition represented as value object.

Properties

IControl $control
mixed $validator
mixed $arg
bool $isNegative
string|null $message
Rules|null $branch

Traits

Strict class for better experience.