migrate AquisitionSource function to doctrine