Doctrine 2 - ORM

[GH-340] add public has() method to filter collection.