createFakeImage(storage_path('stub') . '/image.png', Storage::disk($collection->disk)->path($file->server_path . $file->uuid . '.' . $collection->ext)); } public function deleteFakeImageForModel(\App\Models\File $file): void { unlink($file->getPath()); unlink($file->getModifiedPath()); } }