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