src/Message/EmailNotificationMessage.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Message;
  3. class EmailNotificationMessage
  4. {
  5.     private array $recipient;
  6.     private array $cc;
  7.     private string $subject;
  8.     private string $body;
  9.     public function __construct(array $recipient, array $cc = [], string $subjectstring $body)
  10.     {
  11.         $this->recipient $recipient;
  12.         $this->cc $cc;
  13.         $this->subject $subject;
  14.         $this->body $body;
  15.     }
  16.     public function getRecipient(): array
  17.     {
  18.         return $this->recipient;
  19.     }
  20.     public function getSubject(): string
  21.     {
  22.         return $this->subject;
  23.     }
  24.     public function getBody(): string
  25.     {
  26.         return $this->body;
  27.     }
  28.     public function getCc(): array
  29.     {
  30.         return $this->cc;
  31.     }
  32. }