HasFileAttachments
trait HasFileAttachments (View source)
Properties
protected string|Closure|null | $fileAttachmentsDirectory | ||
protected string|Closure|null | $fileAttachmentsDiskName | ||
protected Closure|null | $getUploadedAttachmentUrlUsing | ||
protected Closure|null | $saveUploadedFileAttachmentsUsing | ||
protected string|Closure | $fileAttachmentsVisibility |
Methods
fileAttachmentsDirectory(string|Closure|null $directory)
No description
fileAttachmentsDisk(string|Closure|null $name)
No description
string|null
saveUploadedFileAttachment(TemporaryUploadedFile $attachment)
No description
fileAttachmentsVisibility(string|Closure $visibility)
No description
getUploadedAttachmentUrlUsing(Closure|null $callback)
No description
saveUploadedFileAttachmentsUsing(Closure|null $callback)
No description
string|null
getFileAttachmentsDirectory()
No description
Filesystem
getFileAttachmentsDisk()
No description
string
getFileAttachmentsDiskName()
No description
string
getFileAttachmentsVisibility()
No description
handleFileAttachmentUpload($file)
No description
string|null
handleUploadedAttachmentUrlRetrieval($file)
No description
Details
HasFileAttachments
fileAttachmentsDirectory(string|Closure|null $directory)
No description
HasFileAttachments
fileAttachmentsDisk(string|Closure|null $name)
No description
string|null
saveUploadedFileAttachment(TemporaryUploadedFile $attachment)
No description
HasFileAttachments
fileAttachmentsVisibility(string|Closure $visibility)
No description
HasFileAttachments
getUploadedAttachmentUrlUsing(Closure|null $callback)
No description
HasFileAttachments
saveUploadedFileAttachmentsUsing(Closure|null $callback)
No description
string|null
getFileAttachmentsDirectory()
No description
Filesystem
getFileAttachmentsDisk()
No description
string
getFileAttachmentsDiskName()
No description
string
getFileAttachmentsVisibility()
No description
protected
handleFileAttachmentUpload($file)
No description
protected string|null
handleUploadedAttachmentUrlRetrieval($file)
No description