respect-validation/docs/rules/Consonant.md
2018-08-23 02:12:44 +02:00

434 B

Consonant

  • Consonant()
  • Consonant(string $additionalChars)

Similar to Alnum(). Validates strings that contain only consonants:

v::consonant()->validate('xkcd'); // true

Changelog

Version Description
0.5.0 Renamed from Consonants to Consonant
0.3.9 Created as Consonants

See also: