SavedListData
extends Pivot
in package
Uses
HasEntity, HasItemMorph
Class SavedListData.
Table of Contents
Constants
- ENTITY_TYPE = 'saved_list_data'
Properties
- $id : int
- $incrementing : mixed
- $list_id : int
- $saved_id : int
- $savedItems : Saved
- $savedLists : SavedList
- $timestamps : mixed
- $fillable : mixed
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- getItemAttribute() : mixed
- item() : MorphTo|null
- itemId() : int
- itemType() : string
- moduleName() : string
- savedItems() : BelongsTo
- savedLists() : BelongsTo
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'saved_list_data'
Properties
$id
public
int
$id
$incrementing
public
mixed
$incrementing
= false
$list_id
public
int
$list_id
$saved_id
public
int
$saved_id
$savedItems
public
Saved
$savedItems
$savedLists
public
SavedList
$savedLists
$timestamps
public
mixed
$timestamps
= false
$fillable
protected
mixed
$fillable
= ['list_id', 'saved_id']
$table
protected
mixed
$table
= 'saved_list_data'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringgetItemAttribute()
public
getItemAttribute() : mixed
item()
public
item() : MorphTo|null
Return values
MorphTo|nullitemId()
public
itemId() : int
Return values
intitemType()
public
itemType() : string
Return values
stringmoduleName()
public
moduleName() : string
Return values
stringsavedItems()
public
savedItems() : BelongsTo
Return values
BelongsTosavedLists()
public
savedLists() : BelongsTo