$this->senderName]), ); } public function content(): Content { return new Content( markdown: 'mail.shared-certificates', with: ['senderName' => $this->senderName], ); } /** * @return array */ public function attachments(): array { return [ Attachment::fromPath($this->zipPath) ->as('certificates.zip') ->withMime('application/zip'), ]; } }