1 | <?php |
||
5 | class Ecommerce_Dummy_Mailer extends mailer |
||
|
|||
6 | { |
||
7 | /** |
||
8 | * FAKE Send a plain-text email. |
||
9 | * |
||
10 | * @return bool |
||
11 | */ |
||
12 | public function sendPlain($to, $from, $subject, $plainContent, $attachedFiles = false, $customheaders = false) |
||
16 | |||
17 | /** |
||
18 | * FAKE Send a multi-part HTML email. |
||
19 | * |
||
20 | * @return bool |
||
21 | */ |
||
22 | public function sendHTML($to, $from, $subject, $htmlContent, $attachedFiles = false, $customheaders = false, $plainContent = false) |
||
26 | } |
||
27 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.