PartBuilderFactory
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.
Tags
Table of Contents
- $headerFactory : HeaderFactory
- __construct() : mixed
- Initializes dependencies
- newPartBuilder() : PartBuilder
- Constructs a new PartBuilder object and returns it
Properties
$headerFactory
protected
HeaderFactory
$headerFactory
Methods
__construct()
Initializes dependencies
public
__construct(HeaderFactory $headerFactory) : mixed
Parameters
- $headerFactory : HeaderFactory
Return values
mixed —newPartBuilder()
Constructs a new PartBuilder object and returns it
public
newPartBuilder(MessagePartFactory $messagePartFactory) : PartBuilder
Parameters
- $messagePartFactory : MessagePartFactory