respect-validation/docs/rules/AllOf.md
Henrique Moody 10df3211f5
Add "Categorization" section to rule documentations
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-11 19:16:21 +02:00

379 B

AllOf

  • AllOf(Validatable ...$rule)

Will validate if all inner validators validates.

v::allOf(v::intVal(), v::positive())->validate(15); // true

Categorization

  • Composite
  • Nesting

Changelog

Version Description
0.3.9 Created

See also: