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
string|null
getFileAttachmentsDirectory()
No description
Filesystem
getFileAttachmentsDisk()
No description
string
getFileAttachmentsDiskName()
No description
string
getFileAttachmentsVisibility()
No description
mixed
string|null
handleUploadedAttachmentUrlRetrieval(mixed $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 mixed
handleFileAttachmentUpload(SplFileInfo $file)
No description
protected string|null
handleUploadedAttachmentUrlRetrieval(mixed $file)
No description