class PendingVolume extends Model

Traits

HasFactory

Properties

protected array<int,string> $fillable

The attributes that are mass assignable.

protected array<int,string> $hidden

The attributes that should be hidden for arrays.

protected array<string,string> $casts

The attributes that should be cast.

protected array<string,string> $attributes

Default values for attributes.

Methods

string
getMetadataFileDisk()

{@inheritdoc}

bool
hasMetadata()

No description

void
saveMetadata(UploadedFile $file)

No description

VolumeMetadata|null
getMetadata()

No description

void
deleteMetadata(bool $noUpdate = false)

No description

static void
booted()

No description

BelongsTo
project()

No description

BelongsTo
volume()

No description

Details

at line 88
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 68
static protected void booted()

No description

Return Value

void

at line 75
BelongsTo project()

No description

Return Value

BelongsTo

at line 80
BelongsTo volume()

No description

Return Value

BelongsTo