mirror of
https://github.com/Respect/Validation.git
synced 2024-05-29 03:42:25 +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>
28 lines
377 B
Markdown
28 lines
377 B
Markdown
# Punct
|
|
|
|
- `Punct()`
|
|
- `Punct(string ...$additionalChars)`
|
|
|
|
Validates whether the input composed by only punctuation characters.
|
|
|
|
```php
|
|
v::punct()->validate('&,.;[]'); // true
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- Strings
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.5.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Control](Control.md)
|
|
- [Graph](Graph.md)
|
|
- [Printable](Printable.md)
|