company = $company; $this->user = $user; $this->account = $account; $this->settings = $settings; } /** * Build the message. * * @return $this */ public function build() { return $this->from(config('mail.from.address'), config('mail.from.name')) ->subject(ctrans('texts.company_deleted')) ->view('email.admin.company_deleted') ->with([ 'settings' => $this->settings, 'logo' => '', 'title' => ctrans('texts.company_deleted'), 'body' => ctrans('texts.company_deleted_body', ['company' => $this->company, 'user' => $this->user->present()->name(), 'time' => now()]), 'whitelabel' => $this->account->isPaid(), ]); } }