<?php namespace App\Invoice; class MailRecipient { public string $name; public string $email; public function __construct(string $email, string $name) { $this->email = $email; $this->name = $name; } }