interface Illuminate / Database / Eloquent / Scope

Scope

Methods

public

apply ( Builder $builder , Model $model ) : void

Apply the scope to a given Eloquent query builder.

Parameters