respect-validation/docs/rules/Control.md
Henrique Moody 9c0f8dcfcc
Rename rule "Cntrl" to "Control"
This commit will rename the rule by removing the abbreviation to make it
a bit easier to understand what it does and much easier to find.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-11 19:35:14 +02:00

459 B

Control

  • Control()
  • Control(string ...$additionalChars)

Validates if all of the characters in the provided string, are control characters.

v::control()->validate("\n\r\t"); // true

Categorization

  • Strings

Changelog

Version Description
2.0.0 Renamed from Cntrl to Control
0.5.0 Created

See also: