class Rule

Single validation rule or condition represented as value object.

Traits

Strict class for better experience.

Properties

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