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.

Details

at line line 21
void apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

Parameters

Builder $builder
Model $model

Return Value

void

at line line 32
void extend( Builder $builder)

Extend the query builder with the needed functions.

Parameters

Builder $builder

Return Value

void