entity generator based on doctrine (symfony framework)