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

31 lines
459 B
Markdown

# Control
- `Control()`
- `Control(string ...$additionalChars)`
Validates if all of the characters in the provided string, are control
characters.
```php
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:
- [Alnum](Alnum.md)
- [Printable](Printable.md)
- [Punct](Punct.md)
- [Space](Space.md)