SortableScope
in package
implements
Scope
Interfaces, Classes and Traits
Table of Contents
- $scopeApplied : mixed
- apply() : void
- Apply the scope to a given Eloquent query builder.
- extend() : void
- Extend the Eloquent query builder.
Properties
$scopeApplied
protected
mixed
$scopeApplied
Methods
apply()
Apply the scope to a given Eloquent query builder.
public
apply(Builder $builder, Model $model) : void
Parameters
Return values
void —extend()
Extend the Eloquent query builder.
public
extend(Builder $builder) : void
Parameters
- $builder : Builder