public function moveImage($photo, $photoKey, $model, $request)
    {
        $path = $this->getUploadPath($model);

        $photos['fileName'] = $this->fileName;
        $photos['fileSize'] = $this->fileSize;
        $photos['original'] = $this->original($photo, $path['original']);
        $photos['thumbnails'] = $this->thumbnails($photo, $photoKey, $path['thumbnails'], $request);
        return $photos;
    }
public function moveImage($photo, $photoKey, $model, $request)
    {
        $path = $this->getUploadPath($model);

        $photos['fileName'] = $this->fileName;
        $photos['fileSize'] = $this->fileSize;
        $photos['original'] = $this->original($photo, $path['original']);
        $photos['thumbnails'] = $this->thumbnails($photo, $photoKey, $path['thumbnails'], $request);
        return $photos;
    }
public function moveImage ( $ photo , $ photoKey , $ model , $ request ) { $ path = $ this -> getUploadPath ( $ model ) ; $ photos [ 'fileName' ] = $ this -> fileName ; $ photos [ 'fileSize' ] = $ this -> fileSize ; $ photos [ 'original' ] = $ this -> original ( $ photo , $ path [ 'original' ] ) ; $ photos [ 'thumbnails' ] = $ this -> thumbnails ( $ photo , $ photoKey , $ path [ 'thumbnails' ] , $ request ) ; return $ photos ; }
move upload image

@param $photo
@param integer $photoKey
@param \Illuminate\Database\Eloquent\Model $model
@param \Illuminate\Http\Request $request
@return array
move upload image