doctrine set master slave