file_path = $file_path; $this->company = $company; } /** * Build the message. * * @return $this * @throws \Laracasts\Presenter\Exceptions\PresenterException */ public function build() { return $this->from(config('mail.from.address'), config('mail.from.name')) ->subject(ctrans('texts.download_files')) ->markdown( 'email.admin.download_files', [ 'url' => $this->file_path, 'logo' => $this->company->present()->logo, 'whitelabel' => $this->company->account->isPaid() ? true : false, ] ); } }