IMimePartFactory
extends IMessagePartFactory
in package
Responsible for creating IMimePart instances.
Tags
Table of Contents
- $logger : LoggerInterface
- $partChildrenContainerFactory : PartChildrenContainerFactory
- $partHeaderContainerFactory : PartHeaderContainerFactory
- $partStreamContainerFactory : PartStreamContainerFactory
- $streamFactory : StreamFactory
- __construct() : mixed
- newInstance() : IMimePart
- Constructs a new IMimePart object and returns it
Properties
$logger
protected
LoggerInterface
$logger
$partChildrenContainerFactory
protected
PartChildrenContainerFactory
$partChildrenContainerFactory
$partHeaderContainerFactory
protected
PartHeaderContainerFactory
$partHeaderContainerFactory
$partStreamContainerFactory
protected
PartStreamContainerFactory
$partStreamContainerFactory
$streamFactory
protected
StreamFactory
$streamFactory
Methods
__construct()
public
__construct(LoggerInterface $logger, StreamFactory $streamFactory, PartStreamContainerFactory $partStreamContainerFactory, PartHeaderContainerFactory $partHeaderContainerFactory, PartChildrenContainerFactory $partChildrenContainerFactory) : mixed
Parameters
- $logger : LoggerInterface
- $streamFactory : StreamFactory
- $partStreamContainerFactory : PartStreamContainerFactory
- $partHeaderContainerFactory : PartHeaderContainerFactory
- $partChildrenContainerFactory : PartChildrenContainerFactory
Return values
mixed —newInstance()
Constructs a new IMimePart object and returns it
public
newInstance([IMimePart|null $parent = null ]) : IMimePart
Parameters
- $parent : IMimePart|null = null