run, $notifiable); $reasonEnvelope = app(ReasonPresenter::class)->forOperationRun($this->run, 'notification'); if ($reasonEnvelope !== null) { $message['reason_translation'] = $reasonEnvelope->toArray(); $message['diagnostic_reason_code'] = $reasonEnvelope->diagnosticCode(); } return $message; } }