2020-10-27 12:57:12 +01:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Invoice Ninja (https://invoiceninja.com).
|
|
|
|
*
|
|
|
|
* @link https://github.com/invoiceninja/invoiceninja source repository
|
|
|
|
*
|
2023-01-28 23:21:40 +01:00
|
|
|
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
|
2020-10-27 12:57:12 +01:00
|
|
|
*
|
2021-06-16 08:58:16 +02:00
|
|
|
* @license https://www.elastic.co/licensing/elastic-license
|
2020-10-27 12:57:12 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Mail\Engine;
|
|
|
|
|
|
|
|
interface EngineInterface
|
|
|
|
{
|
|
|
|
public function setFooter($footer);
|
|
|
|
|
|
|
|
public function setVariables($variables);
|
|
|
|
|
|
|
|
public function setContact($contact);
|
|
|
|
|
|
|
|
public function setSubject($subject);
|
|
|
|
|
|
|
|
public function setBody($body);
|
|
|
|
|
|
|
|
public function setTemplate($template_style);
|
|
|
|
|
|
|
|
public function setAttachments($attachments);
|
|
|
|
|
|
|
|
public function setViewLink($link);
|
|
|
|
|
|
|
|
public function setViewText($text);
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2020-10-27 12:57:12 +01:00
|
|
|
public function getSubject();
|
2022-06-21 11:57:17 +02:00
|
|
|
|
2020-10-27 12:57:12 +01:00
|
|
|
public function getBody();
|
|
|
|
|
|
|
|
public function getAttachments();
|
|
|
|
|
|
|
|
public function getFooter();
|
|
|
|
|
|
|
|
public function getTemplate();
|
|
|
|
|
|
|
|
public function getViewLink();
|
|
|
|
|
|
|
|
public function getViewText();
|
|
|
|
|
|
|
|
public function build();
|
2022-03-04 00:55:02 +01:00
|
|
|
|
|
|
|
public function getTextBody();
|
2020-11-25 15:19:52 +01:00
|
|
|
}
|