zendframework/zf2 — pull request #4374 by RomanKonz (2013-05-01 20:03:58+00:00)
Title: CollectionInputFilter returns always valid for empty collections

this pull request adds a required flag to an InputFilterCollection

if you have nested arrays, it's impossible to enfoce at least one entry.

```php
$offers = array(
array(
'name' => 't-shirt',
'prices' => array(
array(), // i need at least one price!
),
),
);
```

for example - this is very useful for mongodb documents.