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