TagData
extends Pivot
in package
Uses
HasFactory
Class HashtagData.
Table of Contents
Properties
- $id : int
- $item_id : int
- $item_type : string
- $tag : Tag
- $tag_id : int
- $timestamps : bool
- $fillable : array<string|int, string>
- $table : mixed
Methods
- factory() : TagDataFactory
- tag() : BelongsTo
- newFactory() : TagDataFactory
Properties
$id
public
int
$id
$item_id
public
int
$item_id
$item_type
public
string
$item_type
$tag
public
Tag
$tag
$tag_id
public
int
$tag_id
$timestamps
public
bool
$timestamps
= false
$fillable
protected
array<string|int, string>
$fillable
= ['tag_id', 'item_id', 'item_type']
$table
protected
mixed
$table
= 'hashtag_tag_data'
Methods
factory()
public
static factory(mixed $parameters) : TagDataFactory
Parameters
- $parameters : mixed
Return values
TagDataFactorytag()
public
tag() : BelongsTo
Return values
BelongsTonewFactory()
protected
static newFactory() : TagDataFactory