OpenXE/classes/Components/Mailer/MailerInterface.php
2021-05-21 08:49:41 +02:00

22 lines
452 B
PHP

<?php
namespace Xentral\Components\Mailer;
use Xentral\Components\Mailer\Data\EmailMessage;
use Xentral\Components\Mailer\Transport\MailerTransportInterface;
interface MailerInterface
{
/**
* @param MailerTransportInterface $transport
*/
public function __construct(MailerTransportInterface $transport);
/**
* @param EmailMessage $email
*
* @return bool
*/
public function send(EmailMessage $email);
}