Skip to content

Batchable ​

Type
Interface
Namespace
craft\base
Extends
Countable
Implemented by
craft\db\QueryBatcher
Since
4.4.0

Batchable defines the common interface to be implemented by classes that provide items which can be counted and accessed in slices.

View source

Public Methods ​

MethodDescription
getSlice()Returns a slice of the items

getSlice() ​

Returns a slice of the items

View source

Arguments ​

Returns ​

iterable