Policy
Table of Contents
Properties
- $_rules : array<string|int, mixed>
Methods
- addRule() : static
- isRuleValid() : mixed
Properties
$_rules
private
array<string|int, mixed>
$_rules
Methods
addRule()
public
addRule(mixed $name, IValidator $validator) : static
Parameters
- $name : mixed
- $validator : IValidator
Return values
staticisRuleValid()
public
isRuleValid(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed