Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | abstract class ResponseBuilder |
||
15 | { |
||
16 | protected $template; |
||
17 | protected string $contentType = ''; |
||
18 | protected array $headers; |
||
19 | protected array $data; |
||
20 | |||
21 | public function __construct($template, $data = [], $headers = []) |
||
26 | } |
||
27 | |||
28 | public function getHeaders(): array |
||
31 | } |
||
32 | |||
33 | |||
34 | public function getContentType(): string |
||
37 | } |
||
38 | |||
39 | abstract public function getBody(): StreamInterface; |
||
40 | } |
||
41 |