1 | <?php |
||
23 | class PhpMailTransport extends Base implements MailTransportInterface |
||
24 | { |
||
25 | |||
26 | /** |
||
27 | * @var MessageInterface |
||
28 | */ |
||
29 | protected $message; |
||
30 | |||
31 | /** |
||
32 | * @var Php |
||
33 | */ |
||
34 | protected $mailVendor; |
||
35 | |||
36 | /** |
||
37 | * Send a e-mail message |
||
38 | * |
||
39 | * @param MessageInterface $message |
||
40 | * |
||
41 | * @return MailTransportInterface |
||
42 | */ |
||
43 | 2 | public function send(MessageInterface $message) |
|
55 | |||
56 | /** |
||
57 | * Gets the Mail Vendor object |
||
58 | * |
||
59 | * @return Php |
||
60 | */ |
||
61 | 4 | public function getMailVendor() |
|
68 | |||
69 | /** |
||
70 | * Sets the Mail Vendor object |
||
71 | * |
||
72 | * @param Php $mailVendor |
||
73 | * |
||
74 | * @return PhpMailTransport|$this|self |
||
75 | */ |
||
76 | 4 | public function setMailVendor(Php $mailVendor) |
|
81 | |||
82 | /** |
||
83 | * Get the headers for all |
||
84 | * |
||
85 | * @return string |
||
86 | */ |
||
87 | 2 | public function getHeadersAsString() |
|
101 | } |