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

Parameters

string|Closure|null $directory

Return Value

HasFileAttachments

HasFileAttachments fileAttachmentsDisk(string|Closure|null $name)

No description

Parameters

string|Closure|null $name

Return Value

HasFileAttachments

string|null saveUploadedFileAttachment(TemporaryUploadedFile $attachment)

No description

Parameters

TemporaryUploadedFile $attachment

Return Value

string|null

HasFileAttachments fileAttachmentsVisibility(string|Closure $visibility)

No description

Parameters

string|Closure $visibility

Return Value

HasFileAttachments

HasFileAttachments getUploadedAttachmentUrlUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasFileAttachments

HasFileAttachments saveUploadedFileAttachmentsUsing(Closure|null $callback)

No description

Parameters

Closure|null $callback

Return Value

HasFileAttachments

string|null getFileAttachmentsDirectory()

No description

Return Value

string|null

Filesystem getFileAttachmentsDisk()

No description

Return Value

Filesystem

string getFileAttachmentsDiskName()

No description

Return Value

string

string getFileAttachmentsVisibility()

No description

Return Value

string

protected handleFileAttachmentUpload($file)

No description

Parameters

$file

protected string|null handleUploadedAttachmentUrlRetrieval($file)

No description

Parameters

$file

Return Value

string|null