adrema/app/Invoice/MailRecipient.php

16 lines
240 B
PHP

<?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;
}
}