1 | <?php |
||
23 | class ImageResponse extends Response { |
||
24 | |||
25 | /** |
||
26 | * @var \OC_Image|string |
||
27 | */ |
||
28 | private $preview; |
||
29 | |||
30 | /** |
||
31 | * Constructor |
||
32 | * |
||
33 | * @param array $image image meta data |
||
34 | * @param int $statusCode the HTTP status code, defaults to 200 |
||
35 | */ |
||
36 | 18 | public function __construct(array $image, $statusCode = Http::STATUS_OK) { |
|
47 | |||
48 | /** |
||
49 | * Returns the rendered image |
||
50 | * |
||
51 | * @return string the file |
||
52 | */ |
||
53 | 13 | public function render() { |
|
61 | |||
62 | } |
||
63 |