ScopeInterface (Database\Eloquent)

ScopeInterface

interface ScopeInterface (View source)

Methods

void apply( Builder $builder, Model $model)

Apply the scope to a given Eloquent query builder.

void remove( 登录查看完整内容