RuleInterface
in
Common interface for all rules
Tags
Table of Contents
- validate() : StringIterator
- Method validates string
Methods
validate()
Method validates string
public
validate(StringIterator $iterator, bool &$ruleWasApplied) : StringIterator
Parameters
- $iterator : StringIterator
-
iterator for validating string
- $ruleWasApplied : bool
-
was the rool applied
Return values
StringIterator —iterator after validation