We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20deb0e commit c4341fbCopy full SHA for c4341fb
src/Models/Media.php
@@ -287,6 +287,9 @@ public function getChildrenConversions(string $name): EloquentCollection
287
->filter(fn ($conversion) => str_starts_with($conversion->conversion_name, "{$name}."));
288
}
289
290
+ /**
291
+ * Save a conversion and dispatch children conversions
292
+ */
293
public function replaceConversion(
294
MediaConversion $conversion,
295
): MediaConversion {
@@ -320,6 +323,8 @@ public function replaceConversion(
320
323
321
324
322
325
/**
326
+ * Store a file as a conversion and dispatch children conversions
327
+ *
328
* @param string|resource|UploadedFile|HttpFile $file
329
*/
330
public function addConversion(
0 commit comments