RuleRegistry
final class RuleRegistry (View source)
Constants
| private BUILT_IN_RULES |
|
Methods
Returns the canonical framework-owned rule catalog.
array
has(string $name)
bool
addRule(string $name, string|ValidationRuleInterface $rule)
get(string $name)
string|ValidationRuleInterface|null
Details
builtInRules
static array
builtInRules()
Returns the canonical framework-owned rule catalog.
has
bool
has(string $name)
No description