You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
394 B
PHP
15 lines
394 B
PHP
<?php
|
|
namespace App\Services;
|
|
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Http\UploadedFile;
|
|
|
|
interface FileInterface
|
|
{
|
|
public function deleteFile($uid, $callback = null);
|
|
public function saveFile($user, Request $request, $name = 'file');
|
|
public function download($uid);
|
|
public function downloadImageRate($uid, $type, $size);
|
|
public function downloadImage($uid, $width, $height);
|
|
}
|