Entities controller for Doctrine