| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class Response |
||
| 17 | { |
||
| 18 | private $description; |
||
| 19 | private $content; |
||
| 20 | private $headers; |
||
| 21 | private $links; |
||
| 22 | |||
| 23 | public function __construct(string $description = '', array $content = [], array $headers = [], array $links = []) |
||
| 29 | } |
||
| 30 | |||
| 31 | public function setContent(array $content = []) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function getContent() |
||
| 39 | { |
||
| 40 | return $this->content; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function getDescription() |
||
| 44 | { |
||
| 45 | return $this->description; |
||
| 46 | } |
||
| 47 | |||
| 48 | public function getHeaders() |
||
| 51 | } |
||
| 52 | |||
| 53 | public function getLinks() |
||
| 56 | } |
||
| 57 | } |
||
| 58 |