ScopeInterface
interface ScopeInterface (View source)
Methods
void | apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder. | |
void | remove(Builder $builder, Model $model) Remove the scope from the given Eloquent query builder. |
Details
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Database/Eloquent/ScopeInterface.html