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