respect-validation/docs/rules/Vowel.md

26 lines
413 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Vowel
- `Vowel()`
- `Vowel(string ...$additionalChars)`
2015-01-30 09:40:06 +01:00
Similar to `Alnum()`. Validates strings that 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
```
## Changelog
Version | Description
--------|-------------
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)
- [Digit](Digit.md)
- [Alpha](Alpha.md)
- [Consonant](Consonant.md)