tao-test/app/vendor/respect/validation/docs/rules/Punct.md

232 B

Punct

  • v::punct()
  • v::punct(string $additionalChars)

Accepts only punctuation characters:

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

See also: