October\Rain\Database\Scopes\SoftDeleteScope
Extends
- Illuminate\Database\Eloquent\SoftDeletingScope
Implements
- Illuminate\Database\Eloquent\Scope
Protected Properties
There are no protected properties in the class.
Show inherited protected properties
Inherited Protected Properties
- $extensions - All of the extensions to be added to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
Public Methods
public apply()
public apply($builder, $model): void
apply the scope to a given Eloquent query builder.
Inherited Public Methods
- extend() - Extend the query builder with the needed functions. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
Protected Methods
Show inherited protected methods
Inherited Protected Methods
- addCreateOrRestore() - Add the create-or-restore extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- addOnlyTrashed() - Add the only-trashed extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- addRestore() - Add the restore extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- addRestoreOrCreate() - Add the restore-or-create extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- addWithTrashed() - Add the with-trashed extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- addWithoutTrashed() - Add the without-trashed extension to the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)
- getDeletedAtColumn() - Get the "deleted at" column for the builder. (defined in Illuminate\Database\Eloquent\SoftDeletingScope)