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