Batchable

Type
Interface
Namespace
craft\base
Extends
Countable (opens new window)
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 (opens new window)

# Public Methods

Method Description
getSlice() Returns a slice of the items

# getSlice()

Returns a slice of the items

View source (opens new window)

Arguments

Returns

iterable