zendframework/zf2 — pull request #2418 by bakura10 (2012-09-25 16:42:34+00:00)
Title: Set the right count when object is bound

When an object is bound and the data extracted, we need to change the actual count, otherwise it considers that there are as many objects as initially set in the "count" option. However, this number can be higher/lower.

I think we have some problems in the Collection element. I'd like to add some kind of validation like min_count / max_count, but I'm not sure if this is possible...