DatabaseNotification::forceCreate()

static Model forceCreate(array $attributes) Save a new model and return the instance. Allow mass-assignment. Parameters array $attributes Return Value Model

DatabaseNotification::flushEventListeners()

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

DatabaseNotification::fillable()

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

DatabaseNotification::fill()

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

DatabaseNotification::destroy()

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

DatabaseNotification::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

DatabaseNotification::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

DatabaseNotification::delete()

bool|null delete() Delete the model from the database. Return Value bool|null Exceptions Exception

DatabaseNotification::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

DatabaseNotification::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