1 | <?php |
||
23 | class DownloadService extends Service { |
||
24 | |||
25 | use Base64Encode; |
||
26 | |||
27 | /** |
||
28 | * Downloads the requested file |
||
29 | * |
||
30 | * @param File $file |
||
31 | * @param bool $base64Encode |
||
32 | * |
||
33 | * @return array|false |
||
34 | * @throws NotFoundServiceException |
||
35 | */ |
||
36 | 7 | public function downloadFile($file, $base64Encode = false) { |
|
56 | |||
57 | } |
||
58 |