Skip to content

Commit c78ff00

Browse files
authored
Merge pull request #681 from bramnijssen/patch-1
Correct terminology
2 parents a123382 + c5f8104 commit c78ff00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/5.x/extend/queue-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ In situations where there is simply too much work to do in a single request (or
123123

124124
Batched jobs’ `execute()` method is handled for you. Instead, you must define two new methods:
125125

126-
- `loadData()` — Returns a class extending <craft5:craft\base\Batchable>, like <craft5:craft\db\QueryBatcher>. Data is not necessarily loaded at this point, but a means of fetching data in “slices” must be.
126+
- `loadData()` — Returns a class implementing <craft5:craft\base\Batchable>, like <craft5:craft\db\QueryBatcher>. Data is not necessarily loaded at this point, but a means of fetching data in “slices” must be.
127127
- `processItem($item)` — Your logic for handling a single item in each batch.
128128

129129
::: tip

0 commit comments

Comments
 (0)