fuel / validation

FuelPHP Framework - Data Validation library
70 stars 14 forks source link

CollectionOf rule #25

Closed sagikazarmark closed 10 years ago

sagikazarmark commented 10 years ago

I am not sure if it can take place in the set of rules, but I am now implementing it for a project.

It is a collection of type rule, so basically checks an array if every element is typeof or intanceof the given parameters.

@stevewest what do you think?

sagikazarmark commented 10 years ago

According to previous IRC discussion this should be solved with some sort of Collection class and should be tested for that.