class Latest extends Filter (View source)

A filter that sorts results by most recently active.

Methods

string
handle()

The handle for the filter, used in query parameters.

from  Filter
string
label()

The text label for the filter.

void
apply(Builder $query)

Apply the filter to the feed query builder.

Details

string handle()

The handle for the filter, used in query parameters.

Return Value

string

string label()

The text label for the filter.

Return Value

string

void apply(Builder $query)

Apply the filter to the feed query builder.

Parameters

Builder $query

Return Value

void