mixed average(callable|string|null $callback = null) Alias for the "avg" method. Parameters callable|string|null $callback Return Value mixed
array all() Get all of the items in the collection. Return Value array
static void restoring(Closure|string $callback) Register a restoring model event with the dispatcher. Parameters Closure|string $callback Return Value void
bool trashed() Determine if the model instance has been soft-deleted. Return Value bool
SortedMiddleware class SortedMiddleware extends Collection (View source) Traits Macroable
static Builder|SoftDeletingTrait withTrashed() Get a new query builder that includes soft deletes. Return Value Builder|SoftDeletingTrait
void forceDelete() Force a hard delete on a soft deleted model. Return Value void
string getQualifiedDeletedAtColumn() Get the fully qualified "deleted at" column. Return Value string
static void restored(Closure|string $callback) Register a restored model event with the dispatcher. Parameters Closure|string $callback Return Value void
static Builder|SoftDeletingTrait onlyTrashed() Get a new query builder that only includes soft deletes. Return Value Builder|SoftDeletingTrait
Page 161 of 996