MailMimeParser 1.3

MimePartFactory extends MessagePartFactory

Responsible for creating MimePart instances.

Tags
author

Zaahid Bateson

Table of Contents

$partFilterFactory  : PartFilterFactory
$partStreamFilterManagerFactory  : PartStreamFilterManagerFactory
$streamFactory  : StreamFactory
$instances  : array<string|int, MessagePartFactory>
__construct()  : mixed
Initializes dependencies.
getInstance()  : MessagePartFactory
Returns the singleton instance for the class.
newInstance()  : MimePart
Constructs a new MimePart object and returns it
getCachedInstance()  : MessagePartFactory
Returns a cached singleton instance if one exists, or null if one hasn't been created yet.
setCachedInstance()  : mixed
Sets a cached singleton instance.

Properties

Methods

newInstance()

Constructs a new MimePart object and returns it

public newInstance(PartBuilder $partBuilder[, StreamInterface $messageStream = null ]) : MimePart
Parameters
$partBuilder : PartBuilder
$messageStream : StreamInterface = null
Return values
MimePart

Search results