interface ScopeInterface implements Scope (View source)

Methods

void
apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

from Scope

Details

in Scope at line line 14
void apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

Parameters

Builder $builder
Model $model

Return Value

void