We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c991387 + 5f34920 commit b955129Copy full SHA for b955129
messenger.rst
@@ -2591,15 +2591,8 @@ provided in order to ease the declaration of these special handlers::
2591
}
2592
2593
2594
- // Optionally, you can either redefine the `shouldFlush()` method
2595
- // of the trait to define your own batch size...
2596
- private function shouldFlush(): bool
2597
- {
2598
- return $this->getBatchSize() <= \count($this->jobs);
2599
- }
2600
-
2601
- // ... or redefine the `getBatchSize()` method if the default
2602
- // flush behavior suits your needs
+ // Optionally, you can override some of the trait methods, such as the
+ // `getBatchSize()` method, to specify your own batch size...
2603
private function getBatchSize(): int
2604
{
2605
return 100;
0 commit comments