| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class MediaBuilder extends ResponseBuilder |
||
| 18 | { |
||
| 19 | private ?int $start; |
||
| 20 | private ?int $end; |
||
| 21 | private ?int $length; |
||
| 22 | |||
| 23 | 5 | public function setRange($start, $end, $length) |
|
| 24 | { |
||
| 25 | 5 | $this->start = $start; |
|
| 26 | 5 | $this->end = $end; |
|
| 27 | 5 | $this->length = $length; |
|
| 28 | } |
||
| 29 | |||
| 30 | 12 | public function setContentType(string $contentType): void |
|
| 33 | } |
||
| 34 | |||
| 35 | 10 | public function getBody(): StreamInterface |
|
| 44 |