mirror of
https://github.com/Respect/Validation.git
synced 2024-06-03 14:22:16 +02:00
9c0f8dcfcc
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>
31 lines
459 B
Markdown
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)
|