메소드 |
설명 |
|
__construct ( Illuminate\Contracts\Filesystem\Factory $filesystems, Illuminate\Contracts\Config\Repository $config ) |
|
|
add ( string $file, Media $media, string $targetFileName = '' ) |
*
Add a file to the mediaLibrary for the given media. |
|
copyFromMediaLibrary ( Media $media, string $targetFile ) |
*
Copy a file from the medialibrary to the given targetFile. |
|
copyToMediaLibrary ( string $file, Media $media, boolean $conversions = false, string $targetFileName = '' ) |
*
Copy a file to the medialibrary for the given $media. |
|
getConversionDirectory ( Media $media ) : string |
*
Return the directory where all conversions of the given media are stored. |
|
getMediaDirectory ( Media $media, boolean $conversion = false ) : string |
*
Return the directory where all files of the given media are stored. |
|
getRemoteHeadersForFile ( string $file ) : array |
*
Get the headers to be used when copying the
given file to a remote filesytem. |
|
removeFiles ( Media $media ) |
*
Remove all files for the given media. |
|
renameFile ( Media $media, string $oldName ) |
*
Rename a file for the given media. |
|