name = $name; $this->password = $password; } /** * Get the message envelope. */ public function envelope(): Envelope { return new Envelope( subject: '[ISOP] Účet vytvorený', ); } /** * Get the message content definition. */ public function content(): Content { return new Content( view: 'mail.registration.completed', with: [ "name" => $this->name, "password" => $this->password ] ); } /** * Get the attachments for the message. * * @return array */ public function attachments(): array { return []; } }