ParserMimePartProxyFactory
extends ParserPartProxyFactory
in package
Responsible for creating proxied IMimePart instances wrapped in a ParserMimePartProxy with a MimeParser.
Tags
Table of Contents
- $defaultFallbackCharset : string
- $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
$defaultFallbackCharset read-only
protected
string
$defaultFallbackCharset
= 'ISO-8859-1'
$logger read-only
protected
LoggerInterface
$logger
$parserPartChildrenContainerFactory read-only
protected
ParserPartChildrenContainerFactory
$parserPartChildrenContainerFactory
$parserPartStreamContainerFactory read-only
protected
ParserPartStreamContainerFactory
$parserPartStreamContainerFactory
$partHeaderContainerFactory read-only
protected
PartHeaderContainerFactory
$partHeaderContainerFactory
$streamFactory read-only
protected
StreamFactory
$streamFactory
Methods
__construct()
public
__construct(LoggerInterface $logger, StreamFactory $streamFactory, PartHeaderContainerFactory $partHeaderContainerFactory, ParserPartStreamContainerFactory $parserPartStreamContainerFactory, ParserPartChildrenContainerFactory $parserPartChildrenContainerFactory[, string $defaultFallbackCharset = 'ISO-8859-1' ]) : mixed
Parameters
- $logger : LoggerInterface
- $streamFactory : StreamFactory
- $partHeaderContainerFactory : PartHeaderContainerFactory
- $parserPartStreamContainerFactory : ParserPartStreamContainerFactory
- $parserPartChildrenContainerFactory : ParserPartChildrenContainerFactory
- $defaultFallbackCharset : string = 'ISO-8859-1'
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