invitation = $invitation; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'Invitation Mail', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'emails.invitation', with: [ 'acceptUrl' => URL::signedRoute( 'invitation.accept', ['invitation' => $this->invitation] ) ], ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }