Added Profile PIC edition
( default gravatar ) Change-Id: Ib15b9c64ebfb8b21b52175d68e179de38146b765 Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
**/
|
||||
use App\Services\IBaseService;
|
||||
use Auth\User;
|
||||
use Illuminate\Http\UploadedFile;
|
||||
use models\exceptions\EntityNotFoundException;
|
||||
use models\exceptions\ValidationException;
|
||||
/**
|
||||
@@ -61,4 +62,14 @@ interface IUserService extends IBaseService
|
||||
*/
|
||||
public function saveProfileInfo($user_id, $show_pic, $show_full_name, $show_email, $identifier);
|
||||
|
||||
/**
|
||||
* @param $user_id
|
||||
* @param UploadedFile $file
|
||||
* @param int $max_file_size
|
||||
* @throws EntityNotFoundException
|
||||
* @throws ValidationException
|
||||
* @return User
|
||||
*/
|
||||
public function updateProfilePhoto($user_id, UploadedFile $file, $max_file_size = 10485760):User;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user