trait PaginatedDataCollectable

Traits

Methods

string
getDataClass()

Get the data class stored by the collection.

getIterator()

Get an iterator for the data items.

getPartialsDefinition()

Get the current partial definitions.

iterable
itemsForIteration()

Get the underlying items without transforming them.

through(Closure $through)

No description

int
count()

Get the number of data items on the current page.

withoutWrapping()

Disable wrapping for the collection.

Details

string getDataClass()

Get the data class stored by the collection.

Return Value

string

Generator getIterator()

Get an iterator for the data items.

Return Value

Generator

abstract PartialsDefinition getPartialsDefinition()

Get the current partial definitions.

Return Value

PartialsDefinition

at line 53
protected iterable itemsForIteration()

Get the underlying items without transforming them.

Return Value

iterable

at line 22
PaginatedDataCollectable through(Closure $through)

No description

Parameters

Closure $through

Return Value

PaginatedDataCollectable

at line 35
int count()

Get the number of data items on the current page.

Return Value

int

at line 43
PaginatedDataCollectable withoutWrapping()

Disable wrapping for the collection.