ParserMimePartProxyFactory
extends ParserPartProxyFactory
in package
Responsible for creating proxied IMimePart instances wrapped in a ParserMimePartProxy with a MimeParser.
Tags
Table of Contents
- $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
$parserPartChildrenContainerFactory
protected
ParserPartChildrenContainerFactory
$parserPartChildrenContainerFactory
$parserPartStreamContainerFactory
protected
ParserPartStreamContainerFactory
$parserPartStreamContainerFactory
$partHeaderContainerFactory
protected
PartHeaderContainerFactory
$partHeaderContainerFactory
$streamFactory
protected
StreamFactory
$streamFactory
the StreamFactory instance
Methods
__construct()
public
__construct(StreamFactory $sdf, PartHeaderContainerFactory $phcf, ParserPartStreamContainerFactory $pscf, ParserPartChildrenContainerFactory $ppccf) : mixed
Parameters
- $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, IParser $parser) : ParserMimePartProxy
Parameters
- $partBuilder : PartBuilder
- $parser : IParser