StringRule.php Table of Contents Classes StringRuleA rule on the text of a string: a parameter of false switches it off, a value that is not a string fails, and the string is accepted or not by the rule itself.