processImages()
processImages(\App\Offer $offer, array $imageOrder, \Illuminate\Http\UploadedFile|array<mixed,\Illuminate\Http\UploadedFile> $newImages, boolean $handleExisting)
Remove old images, save new and reorder them.
Parameters
\App\Offer | $offer | |
array | $imageOrder | |
\Illuminate\Http\UploadedFile|array<mixed,\Illuminate\Http\UploadedFile> | $newImages | |
boolean | $handleExisting |
Throws
- \Exception