| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | 8 | public function setPassedInitData( |
|
| 38 | string $targetName, |
||
| 39 | int $partsCount, |
||
| 40 | int $lastKnownPart, |
||
| 41 | int $bytesPerPart, |
||
| 42 | string $encoder, |
||
| 43 | string $check |
||
| 44 | ): self |
||
| 45 | { |
||
| 46 | 8 | $this->name = $targetName; |
|
| 47 | 8 | $this->totalParts = $partsCount; |
|
| 48 | 8 | $this->lastKnownPart = $lastKnownPart; |
|
| 49 | 8 | $this->partSize = $bytesPerPart; |
|
| 50 | 8 | $this->encoder = $encoder; |
|
| 51 | 8 | $this->check = $check; |
|
| 52 | 8 | return $this; |
|
| 53 | } |
||
| 55 |