Collection sortBy(callable|string $callback, int $options = SORT_REGULAR, bool $descending = false) Sort the collection using the given callback. Parameters callable|string $callback int $options bool $descending Return Value Collection
void notify(mixed $instance) Send the given notification. Parameters mixed $instance Return Value void
static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed
Model getParent() Get the parent model of the relation. Return Value Model
Model create(array $attributes) Create a new instance of the related model. Parameters array $attributes Return Value Model
bool fullUrlIs() Determine if the current request URL and query string matches a pattern. Return Value bool
void fire() Execute the console command. Return Value void
int|bool increment(string $key, mixed $value = 1) Increment the value of an item in the cache. Parameters string $key mixed $value Return Value int|bool
Fluent create() Indicate that the table needs to be created. Return Value Fluent
SoftDeletingTrait trait SoftDeletingTrait (View source) Methods static void bootSoftDeletingTrait() Boot the soft deleting trait for a model. void forceDelete() Force a hard delete on a soft deleted model. bool|null restore() Restore a soft-deleted model instance. bool trashed() Determine if the model instance has been soft-deleted. static Builder|SoftDeletingTrait withTrashed() Get a new query builder that includes soft deletes. static Builder|SoftDeletingTrait o
Page 90 of 996