mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-29 08:00:28 +01:00
22 lines
452 B
PHP
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);
|
|
}
|