interface ScopeInterface implements Scope (View source)
Apply the scope to a given Eloquent query builder.
void apply( Builder $builder, Model $model)