doctrine integration