← All changes
|
backend/src/Entity/Notification/NotificationContact.php
+40
-0
1.1
→
1.5.1
View file →
| @@ -91,8 +91,48 @@ | ||
| 91 | 91 | $this->notificationContact->setReplyTo($replyTo); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | + * Get the notification CC addresses. | |
| 96 | + * | |
| 97 | + * @return string | |
| 98 | + */ | |
| 99 | + public function getCc(): string | |
| 100 | + { | |
| 101 | + return $this->notificationContact->getCc(); | |
| 102 | + } | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * Set the notification CC addresses. | |
| 106 | + * | |
| 107 | + * @param string $cc | |
| 108 | + */ | |
| 109 | + public function setCc(string $cc): void | |
| 110 | + { | |
| 111 | + $this->notificationContact->setCc($cc); | |
| 112 | + } | |
| 113 | + | |
| 114 | + /** | |
| 115 | + * Get the notification BCC addresses. | |
| 116 | + * | |
| 117 | + * @return string | |
| 118 | + */ | |
| 119 | + public function getBcc(): string | |
| 120 | + { | |
| 121 | + return $this->notificationContact->getBcc(); | |
| 122 | + } | |
| 123 | + | |
| 124 | + /** | |
| 125 | + * Set the notification BCC addresses. | |
| 126 | + * | |
| 127 | + * @param string $bcc | |
| 128 | + */ | |
| 129 | + public function setBcc(string $bcc): void | |
| 130 | + { | |
| 131 | + $this->notificationContact->setBcc($bcc); | |
| 132 | + } | |
| 133 | + | |
| 134 | + /** | |
| 95 | 135 | * Convert contact information to array. |
| 96 | 136 | * |
| 97 | 137 | * @return array<string, string> |
| 98 | 138 | */ |