Collection::sortBy()

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

Notifiable::notify()

void notify(mixed $instance) Send the given notification. Parameters mixed $instance Return Value void

Event::getFacadeRoot()

static mixed getFacadeRoot() Get the root object behind the facade. Return Value mixed

HasOne::getParent()

Model getParent() Get the parent model of the relation. Return Value Model

HasOne::create()

Model create(array $attributes) Create a new instance of the related model. Parameters array $attributes Return Value Model

Request::fullUrlIs()

bool fullUrlIs() Determine if the current request URL and query string matches a pattern. Return Value bool

RoutesCommand::fire()

void fire() Execute the console command. Return Value void

Repository::increment()

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

Blueprint::create()

Fluent create() Indicate that the table needs to be created. Return Value Fluent

SoftDeletingTrait

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