mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
25 lines
437 B
Markdown
25 lines
437 B
Markdown
# Consonant
|
|
|
|
- `Consonant()`
|
|
- `Consonant(string ...$additionalChars)`
|
|
|
|
Similar to `Alnum()`. Validates strings that contain only consonants:
|
|
|
|
```php
|
|
v::consonant()->validate('xkcd'); // true
|
|
```
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
0.5.0 | Renamed from `Consonants` to `Consonant`
|
|
0.3.9 | Created as `Consonants`
|
|
|
|
***
|
|
See also:
|
|
|
|
- [Alnum](Alnum.md)
|
|
- [Alpha](Alpha.md)
|
|
- [Digit](Digit.md)
|
|
- [Vowel](Vowel.md)
|