DatabaseNotification::setAppends()

$this setAppends(array $appends) Set the accessors to append to model arrays. Parameters array $appends Return Value $this

DatabaseNotification::saving()

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

DatabaseNotification::saveOrFail()

bool saveOrFail(array $options = array()) Save the model to the database using transaction. Parameters array $options Return Value bool Exceptions Throwable

DatabaseNotification::saved()

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

DatabaseNotification::save()

bool save(array $options = array()) Save the model to the database. Parameters array $options Return Value bool

DatabaseNotification::resolveConnection()

static Connection resolveConnection(string|null $connection = null) Resolve a connection instance. Parameters string|null $connection Return Value Connection

DatabaseNotification::replicate()

Model replicate(array $except = null) Clone the model into a new, non-existing instance. Parameters array $except Return Value Model

DatabaseNotification::removeObservableEvents()

void removeObservableEvents(array|mixed $observables) Remove an observable event name. Parameters array|mixed $observables Return Value void

DatabaseNotification::relationsToArray()

array relationsToArray() Get the model's relationships in array form. Return Value array

DatabaseNotification::relationLoaded()

bool relationLoaded(string $key) Determine if the given relation is loaded. Parameters string $key Return Value bool