<TModel is Model>
public
apply(Builder<out TModel> $builder, TModel $model): void
Apply the scope to a given Eloquent query builder.