respect-validation/docs/rules/Vowel.md

32 lines
497 B
Markdown
Raw Permalink Normal View History

2015-01-30 09:40:06 +01:00
# Vowel
- `Vowel()`
- `Vowel(string ...$additionalChars)`
2015-01-30 09:40:06 +01:00
Validates whether the input contains only vowels.
2015-01-30 09:40:06 +01:00
```php
v::vowel()->validate('aei'); // true
2015-01-30 09:40:06 +01:00
```
## Categorization
- Strings
## Changelog
Version | Description
--------|-------------
2.0.0 | Do not consider whitespaces as valid
0.5.0 | Renamed from `Vowels` to `Vowel`
0.3.9 | Created as `Vowels`
***
2015-01-30 09:40:06 +01:00
See also:
- [Alnum](Alnum.md)
- [Alpha](Alpha.md)
- [Consonant](Consonant.md)
- [Decimal](Decimal.md)
2018-12-11 13:31:50 +01:00
- [Digit](Digit.md)