respect-validation/docs/rules/Punct.md
Danilo Correa 540c0a4a17
Apply contribution guidelines to "Punct" rule
After writing the integration tests of the "Punct" 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-17 19:21:14 +01:00

343 B

Punct

  • Punct()
  • Punct(string ...$additionalChars)

Validates whether the input composed by only punctuation characters.

v::punct()->validate('&,.;[]'); // true

Changelog

Version Description
0.5.0 Created

See also: