$this setConnection(string $name) Set the connection associated with the model. Parameters string $name Return Value $this
$this setAttribute(string $key, mixed $value) Set a given attribute on the model. Parameters string $key mixed $value Return Value $this
$this setAppends(array $appends) Set the accessors to append to model arrays. Parameters array $appends Return Value $this
static void saving(Closure|string $callback, int $priority) Register a saving model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void
bool saveOrFail(array $options = array()) Save the model to the database using transaction. Parameters array $options Return Value bool Exceptions Throwable
static void saved(Closure|string $callback, int $priority) Register a saved model event with the dispatcher. Parameters Closure|string $callback int $priority Return Value void
bool save(array $options = array()) Save the model to the database. Parameters array $options Return Value bool
static Connection resolveConnection(string|null $connection = null) Resolve a connection instance. Parameters string|null $connection Return Value Connection
Model replicate(array $except = null) Clone the model into a new, non-existing instance. Parameters array $except Return Value Model
void removeObservableEvents(array|mixed $observables) Remove an observable event name. Parameters array|mixed $observables Return Value void
Page 42 of 996