Closed tabacitu closed 1 year ago
Let's
saving
attribute to whenSaving
, so that it doesn't look like a default event;ConstrainedFileAdder
figure out a way for IDEs to suggest the usable methods;Fields
directory;MediaLibraryEventRegister
to RegisterMediaLibraryEvents
handleRepeatableUploads
method private;RepeatableUploads.php
to RepeatableField.php
;
Todos:
down()
function to it;withMedia()
to receive an array to change default configuration;RestrictedSpatieMedia
instead ofMedia
, which prevents setDisk(), setCollection(), mediaName() and toMediaCollection()So in the end, the syntax can be used like this: