There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: addMedia, addMediaConversion, clearMediaCollection, clearMediaCollectionExcept, copyMedia, getMedia, hasMedia, loadMedia, media, registerAllMediaConversions, registerMediaCollections, registerMediaConversions, shouldDeletePreservingMedia
Loading history...
11
{
12
use InteractsWithMedia;
13
14
/**
15
* The attributes that are mass assignable.
16
*
17
* @var array
18
*/
19
protected $fillable = [
20
'key', 'name', 'value', 'cast'
21
];
22
23
/**
24
* The attributes that should be cast.
25
*
26
* @var array
27
*/
28
protected $casts = [
29
'cast' => 'collection'
30
];
31
32
/**
33
* The accessors to append to the model's array form.