interface Listable

Methods

object
query(Context $context)

Create a query object for the current request.

iterable
results(object $query, Context $context)

Get results from the given query.

array
filters()

Filters that can be applied to the resource list.

array
sorts()

Sorts that can be applied to the resource list.

array
resolveSorts()

Resolve the sorts for this resource.

Details

object query(Context $context)

Create a query object for the current request.

Parameters

Context $context

Return Value

object

iterable results(object $query, Context $context)

Get results from the given query.

Parameters

object $query
Context $context

Return Value

iterable

array filters()

Filters that can be applied to the resource list.

Return Value

array

array sorts()

Sorts that can be applied to the resource list.

Return Value

array

array resolveSorts()

Resolve the sorts for this resource.

Return Value

array