ParserMessageProxyFactory
extends ParserMimePartProxyFactory
in package
Responsible for creating proxied IMessage instances wrapped in a ParserMessageProxy.
Tags
Table of Contents
- $logger : LoggerInterface
- $multipartHelper : MultipartHelper
- $parserPartChildrenContainerFactory : ParserPartChildrenContainerFactory
- $parserPartStreamContainerFactory : ParserPartStreamContainerFactory
- $partHeaderContainerFactory : PartHeaderContainerFactory
- $privacyHelper : PrivacyHelper
- $streamFactory : StreamFactory
- __construct() : mixed
- newInstance() : ParserMessageProxy
- Constructs a new ParserMessageProxy wrapping an IMessage object that will dynamically parse a message's content and parts as they're requested.
Properties
$logger
protected
LoggerInterface
$logger
$multipartHelper
protected
MultipartHelper
$multipartHelper
$parserPartChildrenContainerFactory
protected
ParserPartChildrenContainerFactory
$parserPartChildrenContainerFactory
$parserPartStreamContainerFactory
protected
ParserPartStreamContainerFactory
$parserPartStreamContainerFactory
$partHeaderContainerFactory
protected
PartHeaderContainerFactory
$partHeaderContainerFactory
$privacyHelper
protected
PrivacyHelper
$privacyHelper
$streamFactory
protected
StreamFactory
$streamFactory
Methods
__construct()
public
__construct(LoggerInterface $logger, StreamFactory $sdf, PartHeaderContainerFactory $phcf, ParserPartStreamContainerFactory $pscf, ParserPartChildrenContainerFactory $ppccf, MultipartHelper $multipartHelper, PrivacyHelper $privacyHelper) : mixed
Parameters
- $logger : LoggerInterface
- $sdf : StreamFactory
- $phcf : PartHeaderContainerFactory
- $pscf : ParserPartStreamContainerFactory
- $ppccf : ParserPartChildrenContainerFactory
- $multipartHelper : MultipartHelper
- $privacyHelper : PrivacyHelper
Return values
mixed —newInstance()
Constructs a new ParserMessageProxy wrapping an IMessage object that will dynamically parse a message's content and parts as they're requested.
public
newInstance(PartBuilder $partBuilder, IParserService $parser) : ParserMessageProxy
Parameters
- $partBuilder : PartBuilder
- $parser : IParserService