Scope (Database\Eloquent)

Scope

interface Scope (View source)

Methods

void apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

Details