October\Rain\Database\Scopes\SortableScope

Overview

SortableScope will apply default sort ordering

Implements
  • Illuminate\Database\Eloquent\Scope

Public Methods

public apply()

public apply($builder, $model): void

apply the scope to a given Eloquent query builder.

public extend()

public extend($builder): void

extend the Eloquent query builder.