Responsible for creating PartBuilder instances.

The PartBuilder instance must be constructed with a MessagePartFactory instance to construct a MessagePart sub-class after parsing a message into PartBuilder instances.

author Zaahid Bateson
package MailMimeParser

 Methods

Initializes dependencies

__construct(\ZBateson\MailMimeParser\Header\HeaderFactory $headerFactory) 

Parameters

$headerFactory

\ZBateson\MailMimeParser\Header\HeaderFactory

Constructs a new PartBuilder object and returns it

newPartBuilder(\ZBateson\MailMimeParser\Message\Part\Factory\MessagePartFactory $messagePartFactory) : \ZBateson\MailMimeParser\Message\Part\PartBuilder

Parameters

$messagePartFactory

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

Returns

\ZBateson\MailMimeParser\Message\Part\PartBuilder

 Properties

 

the HeaderFactory instance

$headerFactory : \ZBateson\MailMimeParser\Header\HeaderFactory

Default