mirror of
https://github.com/Respect/Validation.git
synced 2026-03-16 23:35:45 +01:00
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>
30 lines
459 B
Markdown
30 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)
|