I'm using an InputFilter to validate my data but no Zend\Form.
$entities = new Input('entities');
$entities->setRequired(false);
return $entities;
Entities is a collection of Entity.
I don't know how to check that entities is a valid array and then that each value of entities is a valid entity.