Skip to content

Commit 000b574

Browse files
committed
add getUploadedFilesFromRequest strategy method
1 parent 42dd2e7 commit 000b574

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

7.x-dev/crud-uploaders.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ The base uploader class has most of the functionality implemented and use **"str
130130

131131
**`hasDeletedFiles`** - a method that returns a boolean to determine if the files were deleted from the field.
132132

133+
**`getUploadedFilesFromRequest`** - this is the method that will be called to get the values sent in the request. Some uploaders require you get the `->files()` others the `->input()`. By default it returns the `->files()`.
134+
133135
This is the implementation of those methods in `SingleFile` uploader:
134136
```php
135137
protected function shouldKeepPreviousValueUnchanged(Model $entry, $entryValue): bool

0 commit comments

Comments
 (0)