OpenXE/classes/Components/Mailer/MailerInterface.php

22 lines
452 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?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);
}