profile = $profile; $this->bank = $bank; $this->amount = $amount; $this->originalTransactionId = $originalTransactionId; $this->description = $description; } public function handle() { if (!$this->profile->email) { Log::warning('SendReversalIssuedMail: Profile has no email address', [ 'profile_id' => $this->profile->id, 'profile_type' => get_class($this->profile), ]); return; } Mail::to($this->profile->email)->send( new ReversalIssued($this->profile, $this->bank, $this->amount, $this->originalTransactionId, $this->description) ); } }