IMessagePartFactory
in package
Abstract factory for subclasses of IMessagePart.
Tags
Table of Contents
- $logger : LoggerInterface
- $partStreamContainerFactory : PartStreamContainerFactory
- $streamFactory : StreamFactory
- __construct() : mixed
- newInstance() : IMessagePart
- Constructs a new IMessagePart object and returns it
Properties
$logger
protected
LoggerInterface
$logger
$partStreamContainerFactory
protected
PartStreamContainerFactory
$partStreamContainerFactory
$streamFactory
protected
StreamFactory
$streamFactory
Methods
__construct()
public
__construct(LoggerInterface $logger, StreamFactory $streamFactory, PartStreamContainerFactory $partStreamContainerFactory) : mixed
Parameters
- $logger : LoggerInterface
- $streamFactory : StreamFactory
- $partStreamContainerFactory : PartStreamContainerFactory
Return values
mixed —newInstance()
Constructs a new IMessagePart object and returns it
public
abstract newInstance([IMimePart|null $parent = null ]) : IMessagePart
Parameters
- $parent : IMimePart|null = null