AbstractMailService.php
39 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 | * Class AbstractMailService |
| 12 | * |
| 13 | * @package AmeliaBooking\Domain\Services\Notification |
| 14 | */ |
| 15 | class AbstractMailService |
| 16 | { |
| 17 | /** @var string */ |
| 18 | protected $from; |
| 19 | |
| 20 | /** @var string */ |
| 21 | protected $fromName; |
| 22 | |
| 23 | /** @var string */ |
| 24 | protected $replyTo; |
| 25 | |
| 26 | /** |
| 27 | * AbstractMailService constructor. |
| 28 | * |
| 29 | * @param $from |
| 30 | * @param $fromName |
| 31 | */ |
| 32 | public function __construct($from, $fromName, $replyTo) |
| 33 | { |
| 34 | $this->from = $from; |
| 35 | $this->fromName = $fromName; |
| 36 | $this->replyTo = $replyTo; |
| 37 | } |
| 38 | } |
| 39 |