respect-validation/docs/rules/Consonant.md
Danilo Correa ffc349cb03
Apply contribution guidelines to "Consonant" rule
After seeing the integration tests of the "Consonant" rule we noticed
that it is generating extra double-quotes for the "{{additionalChars}}"
template placeholder.

This commit will also remove those extra double-quotes.

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2019-02-10 12:21:40 +01:00

416 B

Consonant

  • Consonant()
  • Consonant(string ...$additionalChars)

Validates if the input contains 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: