Skip to content

Commit c4341fb

Browse files
committed
doc
1 parent 20deb0e commit c4341fb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Models/Media.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ public function getChildrenConversions(string $name): EloquentCollection
287287
->filter(fn ($conversion) => str_starts_with($conversion->conversion_name, "{$name}."));
288288
}
289289

290+
/**
291+
* Save a conversion and dispatch children conversions
292+
*/
290293
public function replaceConversion(
291294
MediaConversion $conversion,
292295
): MediaConversion {
@@ -320,6 +323,8 @@ public function replaceConversion(
320323
}
321324

322325
/**
326+
* Store a file as a conversion and dispatch children conversions
327+
*
323328
* @param string|resource|UploadedFile|HttpFile $file
324329
*/
325330
public function addConversion(

0 commit comments

Comments
 (0)