MorphPivot::flushEventListeners()

static void flushEventListeners() Remove all of the event listeners for the model. Return Value void

MorphPivot::fillable()

$this fillable(array $fillable) Set the fillable attributes for the model. Parameters array $fillable Return Value $this

MorphPivot::fill()

$this fill(array $attributes) Fill the model with an array of attributes. Parameters array $attributes Return Value $this Exceptions MassAssignmentException

MorphPivot::destroy()

static int destroy(array|int $ids) Destroy the models for the given IDs. Parameters array|int $ids Return Value int

MorphPivot::deleting()

static void deleting(Closure|string $callback, int $priority) Register a deleting model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

MorphPivot::deleted()

static void deleted(Closure|string $callback, int $priority) Register a deleted model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

MorphPivot::delete()

bool|null delete() Delete the pivot model record from the database. Return Value bool|null

MorphPivot::creating()

static void creating(Closure|string $callback, int $priority) Register a creating model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

MorphPivot::created()

static void created(Closure|string $callback, int $priority) Register a created model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void

MorphPivot::create()

static Model create(array $attributes = array()) Save a new model and return the instance. Parameters array $attributes Return Value Model