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.
Public Methods ​
Method | Description |
---|---|
getSlice() | Returns a slice of the items |
getSlice()
​
Returns a slice of the items
Arguments ​
Returns ​
iterable