respect-validation/docs/rules/Consonant.md
2018-12-11 13:31:50 +01:00

437 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: