static Model forceCreate(array $attributes) Save a new model and return the instance. Allow mass-assignment. Parameters array $attributes Return Value Model
static void flushEventListeners() Remove all of the event listeners for the model. Return Value void
$this fillable(array $fillable) Set the fillable attributes for the model. Parameters array $fillable Return Value $this
$this fill(array $attributes) Fill the model with an array of attributes. Parameters array $attributes Return Value $this Exceptions MassAssignmentException
static int destroy(array|int $ids) Destroy the models for the given IDs. Parameters array|int $ids Return Value int
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
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
bool|null delete() Delete the model from the database. Return Value bool|null Exceptions Exception
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
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
Page 765 of 996