header, ); } /** * Get the message content definition. */ public function content(): Content { return new Content( markdown: 'mail.user.sofascore_data', with: [ 'message' => $this->header, ], ); } /** * Get the attachments for the message. * * @return array * ->withMime('application/x-zip-compressed'); */ public function attachments(): array { $attachments = []; foreach ($this->sendfiles as $sendfile) { $attachments[] = Attachment::fromPath($sendfile) ->withMime('application/vnd.openxmlformats-officedocument.spreadsheetml.template'); } return $attachments; } }