respect-validation/docs/rules/Cntrl.md
Danilo Correa 74c3d1acc3
Apply contribution guidelines to "Cntrl" rule
After writing the integration tests of the "Cntrl" 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:09 +01:00

377 B

Cntrl

  • Cntrl()
  • Cntrl(string ...$additionalChars)

Validates if all of the characters in the provided string, are control characters.

v::cntrl()->validate("\n\r\t"); // true

Changelog

Version Description
0.5.0 Created

See also: