Responsible for creating UUEncodedPart instances.

author Zaahid Bateson
package MailMimeParser
inherited_from \ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory

 Methods

Initializes class dependencies.

__construct(\ZBateson\MailMimeParser\Stream\StreamFactory $streamFactory, \ZBateson\MailMimeParser\Message\Part\Factory\PartStreamFilterManagerFactory $psf) 
Inherited

Parameters

$streamFactory

\ZBateson\MailMimeParser\Stream\StreamFactory

$psf

\ZBateson\MailMimeParser\Message\Part\Factory\PartStreamFilterManagerFactory

Returns the singleton instance for the class.

getInstance(\ZBateson\MailMimeParser\Stream\StreamFactory $sdf, \ZBateson\MailMimeParser\Message\Part\Factory\PartStreamFilterManagerFactory $psf, \ZBateson\MailMimeParser\Message\PartFilterFactory $pf = null, \ZBateson\MailMimeParser\Message\Helper\MessageHelperService $mhs = null) : \ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory
InheritedStatic

Parameters

$sdf

\ZBateson\MailMimeParser\Stream\StreamFactory

$psf

\ZBateson\MailMimeParser\Message\Part\Factory\PartStreamFilterManagerFactory

$pf

\ZBateson\MailMimeParser\Message\PartFilterFactory

$mhs

\ZBateson\MailMimeParser\Message\Helper\MessageHelperService

Returns

\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory

Constructs a new UUEncodedPart object and returns it

newInstance(\ZBateson\MailMimeParser\Message\Part\PartBuilder $partBuilder, \Psr\Http\Message\StreamInterface $messageStream = null) : \ZBateson\MailMimeParser\Message\Part\NonMimePart
inherited_from \ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory::newInstance()

Parameters

$partBuilder

\ZBateson\MailMimeParser\Message\Part\PartBuilder

$messageStream

\Psr\Http\Message\StreamInterface

Returns

\ZBateson\MailMimeParser\Message\Part\NonMimePart

Constructs a new MessagePart object and returns it

newInstance(\ZBateson\MailMimeParser\Message\Part\PartBuilder $partBuilder, \Psr\Http\Message\StreamInterface $messageStream = null) : \ZBateson\MailMimeParser\Message\Part\MessagePart
Inherited

Parameters

$partBuilder

\ZBateson\MailMimeParser\Message\Part\PartBuilder

$messageStream

\Psr\Http\Message\StreamInterface

Returns

\ZBateson\MailMimeParser\Message\Part\MessagePart

Returns a cached singleton instance if one exists, or null if one hasn't been created yet.

getCachedInstance() : \ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory
InheritedStatic

Returns

\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory

Sets a cached singleton instance.

setCachedInstance(\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory $instance) 
InheritedStatic

Parameters

$instance

\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory

 Properties

 

responsible for creating PartStreamFilterManager instances

$partStreamFilterManagerFactory : \ZBateson\MailMimeParser\Message\Part\Factory\PartStreamFilterManagerFactory

Default

 

the StreamFactory instance

$streamFactory : \ZBateson\MailMimeParser\Stream\StreamFactory

Default

 

cached instances of MessagePartFactory sub-classes

$instances : array<mixed,\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory>

Default

null
Static