change @service_container x @doctrine.orm.entity_manager