fileService = new DiskFileService(); } public function deleteFile($uid, $callback = null) { $this->fileService->deleteFile($uid, $callback); } public function saveFile($user, Request $request, $name = 'file') { return $this->fileService->saveFile($user, $request, $name); } public function download($uid) { return $this->fileService->download($uid); } public function downloadImageRate($uid, $type, $size) { return $this->fileService->downloadImageRate($uid, $type, $size); } public function downloadImage($uid, $width, $height) { return $this->fileService->downloadImage($uid, $width, $height); } }