Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class PartBuilderFactory |
||
19 | { |
||
20 | /** |
||
21 | * Constructs a top-level (message) PartBuilder object and returns it |
||
22 | * |
||
23 | * @param PartHeaderContainer $headerContainer |
||
24 | * @param StreamInterface $messageStream |
||
25 | * @return PartBuilder |
||
26 | */ |
||
27 | 105 | public function newPartBuilder(PartHeaderContainer $headerContainer, StreamInterface $messageStream) |
|
30 | } |
||
31 | |||
32 | /** |
||
33 | * Constructs a child PartBuilder object with the passed $parent as its |
||
34 | * parent, and returns it |
||
35 | * |
||
36 | * @param PartHeaderContainer $headerContainer |
||
37 | * @param ParserPartProxy $parent |
||
38 | * @return PartBuilder |
||
39 | */ |
||
40 | 74 | public function newChildPartBuilder(PartHeaderContainer $headerContainer, ParserPartProxy $parent) |
|
49 |