PartBuilderFactory
in package
Responsible for creating PartBuilder instances.
Tags
Table of Contents
- newChildPartBuilder() : PartBuilder
- Constructs a child PartBuilder object with the passed $parent as its parent, and returns it.
- newPartBuilder() : PartBuilder
- Constructs a top-level (message) PartBuilder object and returns it.
Methods
newChildPartBuilder()
Constructs a child PartBuilder object with the passed $parent as its parent, and returns it.
public
newChildPartBuilder(PartHeaderContainer $headerContainer, ParserPartProxy $parent) : PartBuilder
Parameters
- $headerContainer : PartHeaderContainer
- $parent : ParserPartProxy
Return values
PartBuilder —newPartBuilder()
Constructs a top-level (message) PartBuilder object and returns it.
public
newPartBuilder(PartHeaderContainer $headerContainer, StreamInterface $messageStream) : PartBuilder
Parameters
- $headerContainer : PartHeaderContainer
- $messageStream : StreamInterface