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