39 lines
858 B
PHP
39 lines
858 B
PHP
<?php
|
|
|
|
namespace KupShop\KupShopBundle\Email;
|
|
|
|
interface EmailInterface
|
|
{
|
|
public static function getName();
|
|
|
|
public static function getType();
|
|
|
|
public static function getGroup(): string;
|
|
|
|
public static function getPriority();
|
|
|
|
public static function isAllowed();
|
|
|
|
public function getTemplate();
|
|
|
|
public function getSubject();
|
|
|
|
public function getBody();
|
|
|
|
public function getDefaultEmail(): array;
|
|
|
|
public function getEmailTemplate($languageID = null): array;
|
|
|
|
public function getEmail(): array;
|
|
|
|
public function testEmail(): array;
|
|
|
|
public function renderEmail($message, $data, $base_template): array;
|
|
|
|
public function addPlaceholder(string $placeholder, callable $renderer, string $description): void;
|
|
|
|
public function getEntityPlaceholders(): array;
|
|
|
|
public function getMicrodata(): array;
|
|
}
|