integrate doctrine