EmptyString
in package
implements
RuleInterface
Rule wich validates empty string
Tags
Interfaces, Classes and Traits
- RuleInterface
- Common interface for all rules
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
Tags
Return values
StringIterator —iterator after validation