Initial commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\SharedKernel\Application\Mailing;
|
||||
|
||||
use App\SharedKernel\Domain\Model\ValueObject\EmailAddress;
|
||||
|
||||
/**
|
||||
* Interface EmailDefinition.
|
||||
*
|
||||
* @author bernard-ng <bernard@devscast.tech>
|
||||
*/
|
||||
interface EmailDefinition
|
||||
{
|
||||
public function recipient(): EmailAddress;
|
||||
|
||||
public function subject(): string;
|
||||
|
||||
public function subjectVariables(): array;
|
||||
|
||||
public function template(): string;
|
||||
|
||||
public function templateVariables(): array;
|
||||
|
||||
public function locale(): string;
|
||||
|
||||
public function getDomain(): string;
|
||||
}
|
||||
Reference in New Issue
Block a user