mirror of
https://github.com/itflow-org/itflow
synced 2026-06-16 23:01:04 +00:00
Add new optional beta email parser thats based on ImapEngine instead of Webklex
This commit is contained in:
34
plugins/vendor/zbateson/mail-mime-parser/src/Header/Consumer/GenericConsumerService.php
vendored
Normal file
34
plugins/vendor/zbateson/mail-mime-parser/src/Header/Consumer/GenericConsumerService.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of the ZBateson\MailMimeParser project.
|
||||
*
|
||||
* @license http://opensource.org/licenses/bsd-license.php BSD
|
||||
*/
|
||||
|
||||
namespace ZBateson\MailMimeParser\Header\Consumer;
|
||||
|
||||
use Psr\Log\LoggerInterface;
|
||||
use ZBateson\MailMimeParser\Header\Part\HeaderPartFactory;
|
||||
|
||||
/**
|
||||
* The base GenericConsumerService is a consumer with CommentConsumerService and
|
||||
* QuotedStringConsumerService as sub-consumers, and splitting tokens by
|
||||
* whitespace.
|
||||
*
|
||||
* @author Zaahid Bateson
|
||||
*/
|
||||
class GenericConsumerService extends AbstractGenericConsumerService
|
||||
{
|
||||
public function __construct(
|
||||
LoggerInterface $logger,
|
||||
HeaderPartFactory $partFactory,
|
||||
CommentConsumerService $commentConsumerService,
|
||||
QuotedStringConsumerService $quotedStringConsumerService
|
||||
) {
|
||||
parent::__construct(
|
||||
$logger,
|
||||
$partFactory,
|
||||
[$commentConsumerService, $quotedStringConsumerService]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user