interface
ScopeInterface (View source)
Methods
void
apply(
Builder $builder)
Apply the scope to a given Eloquent query builder.
void
remove(
Builder $builder)
Remove the scope from the given Eloquent query builder.
Details
Apply the scope to a given Eloquent query builder.
Remove the scope from the given Eloquent query builder.