ScopeInterface (Database\Eloquent)

ScopeInterface

interface ScopeInterface implements Scope (View source)

Methods

登录查看完整内容
void apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

from Scope