| 1 | <?php |
||
| 8 | class MailDriver implements DriverContract |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Send e-mail message. |
||
| 12 | * |
||
| 13 | * @param \FlyingLuscas\BugNotifier\Message $message |
||
| 14 | * |
||
| 15 | * @return void |
||
| 16 | */ |
||
| 17 | public function handle(Message $message) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get e-mail destination name. |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | protected function getMailDestinationName() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get e-mail destination address. |
||
| 46 | * |
||
| 47 | * @return string |
||
| 48 | */ |
||
| 49 | protected function getMailDestinationAddress() |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Get the view link for the e-mail message. |
||
| 56 | * |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | protected function getMailViewLink() |
||
| 63 | } |
||
| 64 |