Top
class Top extends Filter (View source)
A filter that sorts results by their reaction score, with an optional scoping by time period.
Constants
PERIODS |
|
Methods
string
label()
The text label for the filter.
void
apply(Builder $query)
Apply the filter to the feed query builder.
string|null
currentPeriod()
Get the currently selected time period.
Details
in
Filter at line 24
string
handle()
The handle for the filter, used in query parameters.
string
label()
The text label for the filter.
void
apply(Builder $query)
Apply the filter to the feed query builder.
string|null
currentPeriod()
Get the currently selected time period.