class PendingVolume extends Model

Traits

HasFactory

Properties

protected array<string, string> $attributes

Default values for attributes.

Methods

string
getMetadataFileDisk()

{@inheritdoc}

bool
hasMetadata()

No description

void
saveMetadata(UploadedFile $file)

No description

getMetadata()

No description

void
deleteMetadata(bool $noUpdate = false)

No description

array
casts()

Get the attributes that should be cast.

static void
booted()

No description

BelongsTo
project()

No description

BelongsTo
volume()

No description

Details

at line 85
string getMetadataFileDisk()

{@inheritdoc}

Return Value

string

in HasMetadataFile at line 20
bool hasMetadata()

No description

Return Value

bool

in HasMetadataFile at line 25
void saveMetadata(UploadedFile $file)

No description

Parameters

UploadedFile $file

Return Value

void

in HasMetadataFile at line 35
VolumeMetadata|null getMetadata()

No description

Return Value

VolumeMetadata|null

in HasMetadataFile at line 67
void deleteMetadata(bool $noUpdate = false)

No description

Parameters

bool $noUpdate

Do not set metadata_file_path to null.

Return Value

void

at line 37
protected array casts()

Get the attributes that should be cast.

Return Value

array

at line 59
static protected void booted()

No description

Return Value

void

at line 69
BelongsTo project()

No description

Return Value

BelongsTo

at line 77
BelongsTo volume()

No description

Return Value

BelongsTo