static void setConnectionResolver(
array relationsToArray() Get the model's relationships in array form.
BelongsToMany belongsToMany(string
array getRelations() Get all the loaded relations for the instance.
mixed average(callable|string|null $callback = null) Alias for the "avg"
static void restoring(Closure|string $callback)
array getGuarded() Get the guarded attributes for the model.
void offsetSet(mixed $key, mixed $value) Set the item at a given offset
Model firstOrNew(array $attributes)
string getMorphClass() Get the class name of the parent model.
Page 77 of 100