Move find($id) and findAll() logic to EntityRepository