Documentation

Media extends Model
in package
Uses UsesUUID, HasFactory

Table of Contents

STORAGE_PATH  = 'media/'
$timestamps  : mixed
$fillable  : mixed
$table  : mixed
album()  : mixed
artists()  : mixed
getImageAttribute()  : mixed
getIncrementing()  : mixed
getKeyType()  : mixed
bootUsesUuid()  : mixed

Constants

STORAGE_PATH

public mixed STORAGE_PATH = 'media/'

Properties

$timestamps

public mixed $timestamps = false

$fillable

protected mixed $fillable = ['title', 'filename', 'hash', 'duration', 'is_video', 'image', 'source', 'album_id']

$table

protected mixed $table = 'media'

Methods

album()

public album() : mixed
Return values
mixed

artists()

public artists() : mixed
Return values
mixed

getImageAttribute()

public getImageAttribute(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

getIncrementing()

public getIncrementing() : mixed
Return values
mixed

getKeyType()

public getKeyType() : mixed
Return values
mixed

bootUsesUuid()

protected static bootUsesUuid() : mixed
Return values
mixed

Search results