1 | <?php |
||
5 | class CoverCache |
||
6 | { |
||
7 | /** |
||
8 | * @param string $key |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | public function url($key) |
||
20 | |||
21 | /** |
||
22 | * @param string $url |
||
23 | * @param int $maxHeight |
||
24 | * |
||
25 | * @throws \ErrorException |
||
26 | * |
||
27 | * @return CachedImage |
||
28 | */ |
||
29 | public function putUrl($url, $maxHeight = 0) |
||
36 | |||
37 | /** |
||
38 | * @param binary $blob |
||
39 | * @param int $maxHeight |
||
40 | * |
||
41 | * @throws \ErrorException |
||
42 | * |
||
43 | * @return CachedImage |
||
44 | */ |
||
45 | public function putBlob($blob, $maxHeight = 0) |
||
52 | } |
||
53 |