| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 1 | public function newInstance() |
|
| 24 | { |
||
| 25 | 1 | $streamContainer = $this->partStreamContainerFactory->newInstance(); |
|
| 26 | 1 | $part = new UUEncodedPart( |
|
| 27 | 1 | null, |
|
| 28 | 1 | null, |
|
| 29 | 1 | null, |
|
| 30 | 1 | $streamContainer |
|
| 31 | ); |
||
| 32 | 1 | $streamContainer->setStream($this->streamFactory->newMessagePartStream($part)); |
|
| 33 | 1 | return $part; |
|
| 34 | } |
||
| 36 |