fn new(name, rules)fn withInterval(value)fn withLimit(value)fn withName(value)fn withRules(value)fn withRulesMixin(value)
new(name, rules)PARAMETERS:
- name (
string) - rules (
array)
new creates a new rule group.
withInterval(value)PARAMETERS:
- value (
integer)
withLimit(value)PARAMETERS:
- value (
integer)
withName(value)PARAMETERS:
- value (
string)
withRules(value)PARAMETERS:
- value (
array)
withRulesMixin(value)PARAMETERS:
- value (
array)