add doctrine adapter