Template/Attachments/AttachmentInterface.php
<?php
namespace SfCod\EmailEngineBundle\Template\Attachments;
use SfCod\EmailEngineBundle\Template\TemplateOptionsInterface;
/**
* Email attachment interface
*
* Interface AttachmentInterface
*
* @package SfCod\EmailEngineBundle\Template\Attachments
*/
interface AttachmentInterface
{
/**
* AttachmentInterface constructor.
*
* @param TemplateOptionsInterface $options
*/
public function __construct(TemplateOptionsInterface $options);
/**
* Get attachment name
*
* @return string
*/
public function getFileName(): string;
/**
* Get attachment content
*
* @return string
*/
public function getFileContent(): string;
}