| 1 | <?php |
||
| 14 | class Response extends HttpResponse |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @inheritDoc |
||
| 18 | */ |
||
| 19 | public function __construct($content, int $status = HttpResponse::HTTP_OK) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Serialize data |
||
| 31 | * |
||
| 32 | * @param mixed $data |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | private static function serialize($data): string |
||
| 41 | } |
||
| 42 |