SoftDeletingScope

SoftDeletingScope class SoftDeletingScope implements Scope (View source) Methods void apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder. void extend(Builder $builder) Extend the query builder with the needed functions.

SoftDeletes::trashed()

bool trashed() Determine if the model instance has been soft-deleted. Return Value bool

SoftDeletes::forceDelete()

bool|null forceDelete() Force a hard delete on a soft deleted model. Return Value bool|null

SoftDeletes::getQualifiedDeletedAtColumn()

string getQualifiedDeletedAtColumn() Get the fully qualified "deleted at" column. Return Value string

SoftDeletes

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

SoftDeletes::getDeletedAtColumn()

string getDeletedAtColumn() Get the name of the "deleted at" column. Return Value string

SoftDeletes::bootSoftDeletes()

static void bootSoftDeletes() Boot the soft deleting trait for a model. Return Value void

SlackWebhookChannel

SlackWebhookChannel class SlackWebhookChannel (View source) Methods void __construct(Client $http) Create a new Slack channel instance. ResponseInterface send(mixed $notifiable, Notification $notification) Send the given notification.

SlackWebhookChannel::__construct()

void __construct(Client $http) Create a new Slack channel instance. Parameters Client $http Return Value void

SlackMessage::success()

$this success() Indicate that the notification gives information about a successful operation. Return Value $this