payment = $payment; $this->contact = $contact; } /** * Builds the correct template to send. * @return void */ public function run() { $this->payment->load('company', 'client.contacts'); $contact = $this->payment->client->contacts()->first(); if ($contact->email) EmailPayment::dispatch($this->payment, $this->payment->company, $contact); } }