respect-validation/docs/rules/Space.md
Danilo Correa d2c4912582
Apply contribution guidelines to "Space" rule
After writing the integration tests of the "Space" 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-03-10 18:07:36 +01:00

290 B

Space

  • Space()
  • Space(string ...$additionalChars)

Validates whether the input contains only whitespaces characters.

v::space()->validate('    '); // true

Changelog

Version Description
0.5.0 Created

See also: