1 | <?php namespace nyx\notify\transports\mail\drivers\traits; |
||
18 | trait ExposesBcc |
||
19 | { |
||
20 | /** |
||
21 | * The BCC recipients that should not be exposed. |
||
22 | */ |
||
23 | protected $bcc; |
||
24 | |||
25 | /** |
||
26 | * Removes the BCC recipients from the Message while storing a local in-memory copy that can be restored |
||
27 | * after a mailing transactions. |
||
28 | * |
||
29 | * @param \Swift_Mime_Message $message The Message whose BCC recipients the driver should hide. |
||
30 | * @return $this |
||
31 | */ |
||
32 | protected function hideBcc(\Swift_Mime_Message $message) : mail\interfaces\Driver |
||
39 | |||
40 | /** |
||
41 | * Reapplies the local in-memory copy of a BCC recipient list onto the given Message. |
||
42 | * |
||
43 | * @param \Swift_Mime_Message $message The Message to which the BCC recipients list copy should be applied. |
||
44 | * @return $this |
||
45 | */ |
||
46 | protected function restoreBcc(\Swift_Mime_Message $message) : mail\interfaces\Driver |
||
53 | } |
||
54 |