declaration->title, ); } /** * Get the message content definition. */ public function content(): Content { $messagesUrl = $this->token ? route('client.upload', ['token' => $this->token]) : route('declarations.show', ['declaration' => $this->declaration]).'?tab=messages'; return new Content( markdown: 'emails.declaration-text-message', with: [ 'declarationTitle' => $this->declaration->title, 'body' => $this->body, 'messagesUrl' => $messagesUrl, ] ); } }