movieList = MovieList::find($invitation->movie_list_id); $this->acceptUrl = config('app.frontend_url').'/invitations/'.$invitation->token.'/accept'; $this->declineUrl = config('app.frontend_url').'/invitations/'.$invitation->token.'/decline'; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: 'List Collaborator Invite', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'email.list-collaborator-invite', ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }