class Category extends Model implements Segragatable, Recyclable

Class Category

Traits

Properties

protected array $fillable The attributes that are mass assignable.
Entity $entity
string $category_type
string $name
Carbon $destroyed_at
Carbon $deleted_at

Methods

static null
bootSegragating()

Register EntityScope for Model.

HasOne
entity()

Model's Parent Entity.

static void
bootRecycling()

Model recycling events.

from Recycling
MorphMany
recycled()

Recycled Model records.

from Recycling
getTable()

Determine the model table name

HasMany
accounts()

Category Accounts.

object
attributes()

Category attributes.

Details

in Segragating at line 29
static null bootSegragating()

Register EntityScope for Model.

Return Value

null

in Segragating at line 54
HasOne entity()

Model's Parent Entity.

Return Value

HasOne

in Recycling at line 26
static void bootRecycling()

Model recycling events.

Return Value

void

in Recycling at line 69
MorphMany recycled()

Recycled Model records.

Return Value

MorphMany

in ModelTablePrefix at line 20
getTable()

Determine the model table name

at line 54
HasMany accounts()

Category Accounts.

Return Value

HasMany

at line 64
object attributes()

Category attributes.

Return Value

object