Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria
BSD 3-Clause "New" or "Revised" License
126
stars
55
forks
source link
Add a simple factory for creating validator chains from configuration #371
Closed
gsteel closed 1 month ago
Description
Adds a factory for creating validator chains from a well-known array shape.
The array shape is already in use in
laminas/laminas-inputfilter
and the factory introduced here can be used to to replace code in input-filter.There's further background in #370 as this is a pre-requisite for introducing the proposed conditional validator.