MailServiceInterface.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * @copyright © TMS-Plugins. All rights reserved. |
| 4 | * @licence See LICENCE.md for license details. |
| 5 | */ |
| 6 | |
| 7 | namespace AmeliaBooking\Domain\Services\Notification; |
| 8 | |
| 9 | /** |
| 10 | * Interface MailServiceInterface |
| 11 | * |
| 12 | * @package AmeliaBooking\Domain\Services\Notification |
| 13 | */ |
| 14 | interface MailServiceInterface |
| 15 | { |
| 16 | /** @noinspection MoreThanThreeArgumentsInspection */ |
| 17 | /** |
| 18 | * @param $to |
| 19 | * @param $subject |
| 20 | * @param $body |
| 21 | * @param bool $bcc |
| 22 | * |
| 23 | * @return mixed |
| 24 | * @SuppressWarnings(PHPMD) |
| 25 | */ |
| 26 | public function send($to, $subject, $body, $bcc = false); |
| 27 | } |
| 28 |