transparent-email/src/Services/ServiceInterface.php

12 lines
283 B
PHP
Raw Normal View History

2016-09-10 01:41:21 +03:00
<?php
2016-09-10 16:13:55 +03:00
namespace bkrukowski\TransparentEmail\Services;
2016-09-10 01:41:21 +03:00
2016-09-24 13:09:20 +03:00
use bkrukowski\TransparentEmail\Emails\EmailInterface;
2016-09-10 01:41:21 +03:00
interface ServiceInterface
{
2016-09-24 13:09:20 +03:00
public function isSupported(EmailInterface $email) : bool;
2016-09-10 01:41:21 +03:00
2016-09-24 13:09:20 +03:00
public function getPrimaryEmail(EmailInterface $email) : EmailInterface;
2016-09-10 01:41:21 +03:00
}