1 | <?php |
||
20 | final class PHPMailer extends AbstractTransport |
||
21 | { |
||
22 | /** |
||
23 | * The mailer used to send messages. |
||
24 | * |
||
25 | * @var PHPMailerInstance |
||
26 | */ |
||
27 | private $mailer; |
||
28 | |||
29 | /** |
||
30 | * Initializes a new instance of this class. |
||
31 | * |
||
32 | * @param PHPMailerInstance $mailer |
||
33 | */ |
||
34 | public function __construct(PHPMailerInstance $mailer) |
||
38 | |||
39 | /** |
||
40 | * Sends a message to the given recipient. |
||
41 | * |
||
42 | * @param RecipientInterface $recipient The recipient that should receive the message. |
||
43 | * @param Message $message The message that should be sent. |
||
44 | * @param string $subject The subject of the message. |
||
45 | * @param string $text The plain text message. |
||
46 | * @param null|string $html An optional HTML version of the message. |
||
47 | */ |
||
48 | protected function sendToRecipient( |
||
77 | } |
||
78 |