code: function listenerAtPhase(inst, event, propagationPhase) {
    var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];
    return getListener(inst, registrationName);
  }
docs: Some event types have a notion of different registration names for different
  "phases" of propagation. This finds listeners by a given phase.