respect-validation/docs/rules/Consonant.md

31 lines
470 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Consonant
- `Consonant()`
- `Consonant(string ...$additionalChars)`
2015-01-30 09:40:06 +01:00
Validates if the input contains only consonants.
2015-01-30 09:40:06 +01:00
```php
v::consonant()->validate('xkcd'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- Strings
## Changelog
Version | Description
--------|-------------
0.5.0 | Renamed from `Consonants` to `Consonant`
0.3.9 | Created as `Consonants`
***
2015-01-30 09:40:06 +01:00
See also:
- [Alnum](Alnum.md)
- [Alpha](Alpha.md)
- [Decimal](Decimal.md)
2018-12-11 13:31:50 +01:00
- [Digit](Digit.md)
- [Vowel](Vowel.md)