CategoryData
extends AbstractCategoryData
in package
implements
Entity
Uses
HasEntity
Class CategoryData.
Tags
Table of Contents
Interfaces
- Entity
- Interface Entity.
Properties
- $category : Category
- $category_id : int
- $item_id : int
- $timestamps : mixed
- $fillable : mixed
- $foreignKey : mixed
- $relatedKey : mixed
- $table : mixed
Methods
- category() : BelongsTo
- entityId() : int
- entityType() : string
- moduleName() : string
- booted() : mixed
Properties
$category
public
Category
$category
$category_id
public
int
$category_id
$item_id
public
int
$item_id
$timestamps
public
mixed
$timestamps
= false
$fillable
protected
mixed
$fillable
= ['category_id', 'item_id']
$foreignKey
protected
mixed
$foreignKey
= 'item_id'
$relatedKey
protected
mixed
$relatedKey
= 'category_id'
$table
protected
mixed
$table
= 'photo_category_data'
Methods
category()
public
category() : BelongsTo
Return values
BelongsToentityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringmoduleName()
public
moduleName() : string
Return values
stringbooted()
protected
static booted() : mixed