mirror of
https://github.com/itflow-org/itflow
synced 2026-03-14 09:44:51 +00:00
Add new optional beta email parser thats based on ImapEngine instead of Webklex
This commit is contained in:
37
plugins/vendor/zbateson/mail-mime-parser/src/Message/Helper/AbstractHelper.php
vendored
Normal file
37
plugins/vendor/zbateson/mail-mime-parser/src/Message/Helper/AbstractHelper.php
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of the ZBateson\MailMimeParser project.
|
||||
*
|
||||
* @license http://opensource.org/licenses/bsd-license.php BSD
|
||||
*/
|
||||
|
||||
namespace ZBateson\MailMimeParser\Message\Helper;
|
||||
|
||||
use ZBateson\MailMimeParser\Message\Factory\IMimePartFactory;
|
||||
use ZBateson\MailMimeParser\Message\Factory\IUUEncodedPartFactory;
|
||||
|
||||
/**
|
||||
* Base class for message helpers.
|
||||
*
|
||||
* @author Zaahid Bateson
|
||||
*/
|
||||
abstract class AbstractHelper
|
||||
{
|
||||
/**
|
||||
* @var IMimePartFactory to create parts for attachments/content
|
||||
*/
|
||||
protected IMimePartFactory $mimePartFactory;
|
||||
|
||||
/**
|
||||
* @var IUUEncodedPartFactory to create parts for attachments
|
||||
*/
|
||||
protected IUUEncodedPartFactory $uuEncodedPartFactory;
|
||||
|
||||
public function __construct(
|
||||
IMimePartFactory $mimePartFactory,
|
||||
IUUEncodedPartFactory $uuEncodedPartFactory
|
||||
) {
|
||||
$this->mimePartFactory = $mimePartFactory;
|
||||
$this->uuEncodedPartFactory = $uuEncodedPartFactory;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user