You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
658 B
PHTML
25 lines
658 B
PHTML
7 years ago
|
<?php
|
||
|
|
||
|
namespace BusinessLogic\Emails;
|
||
|
|
||
|
|
||
|
use BusinessLogic\Tickets\Attachment;
|
||
|
use BusinessLogic\Tickets\Ticket;
|
||
|
|
||
|
interface EmailSender {
|
||
|
/**
|
||
|
* @param $emailBuilder EmailBuilder
|
||
|
* @param $heskSettings array
|
||
|
* @param $modsForHeskSettings array
|
||
|
*/
|
||
|
function sendEmail($emailBuilder, $heskSettings, $modsForHeskSettings);
|
||
|
|
||
|
/**
|
||
|
* @param $emailBuilder EmailBuilder
|
||
|
* @param $ticket Ticket
|
||
|
* @param $attachments Attachment[]
|
||
|
* @param $heskSettings array
|
||
|
* @param $modsForHeskSettings array
|
||
|
*/
|
||
|
function sendEmailWithTicket($emailBuilder, $ticket, $attachments, $heskSettings, $modsForHeskSettings);
|
||
|
}
|