static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed
SoftDeletes trait SoftDeletes (View source) Methods static void bootSoftDeletes() Boot the soft deleting trait for a model. bool|null 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 void restoring(Closure|string $callback) Register a restoring model event with the dispatcher. static void restored(Closure|string $callbac
Fluent dropColumn(array|mixed $columns) Indicate that the given columns should be dropped. Parameters array|mixed $columns Return Value Fluent
void line(string $string, string $style = null, null|int|string $verbosity = null) Write a string as standard output. Parameters string $string string $style null|int|string $verbosity Return Value void
void put(string $key, mixed $value, DateTime|float|int $minutes) Store an item in the cache. Parameters string $key mixed $value DateTime|float|int $minutes Return Value void
Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder
string compileDrop(Blueprint $blueprint, Fluent $command) Compile a drop table command. Parameters Blueprint $blueprint Fluent $command Return Value string
Collection sortByDesc(callable|string $callback, int $options = SORT_REGULAR) Sort the collection in descending order using the given callback. Parameters callable|string $callback int $options Return Value Collection
void __construct(Encrypter $encrypter) Create a new CookieGuard instance. Parameters Encrypter $encrypter Return Value void
ConfirmableTrait trait ConfirmableTrait (View source) Methods bool confirmToProceed(string $warning = 'Application In Production!', Closure|bool|null $callback = null) Confirm before proceeding with the action.
Page 970 of 996