<?php
namespace App\Message;
class EmailNotificationMessage
{
private array $recipient;
private array $cc;
private string $subject;
private string $body;
public function __construct(array $recipient, array $cc = [], string $subject, string $body)
{
$this->recipient = $recipient;
$this->cc = $cc;
$this->subject = $subject;
$this->body = $body;
}
public function getRecipient(): array
{
return $this->recipient;
}
public function getSubject(): string
{
return $this->subject;
}
public function getBody(): string
{
return $this->body;
}
public function getCc(): array
{
return $this->cc;
}
}