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 c03a8b0 + e2b4fe4 commit 5f34920Copy full SHA for 5f34920
messenger.rst
@@ -2583,15 +2583,8 @@ provided in order to ease the declaration of these special handlers::
2583
}
2584
2585
2586
- // Optionally, you can either redefine the `shouldFlush()` method
2587
- // of the trait to define your own batch size...
2588
- private function shouldFlush(): bool
2589
- {
2590
- return $this->getBatchSize() <= \count($this->jobs);
2591
- }
2592
-
2593
- // ... or redefine the `getBatchSize()` method if the default
2594
- // 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...
2595
private function getBatchSize(): int
2596
{
2597
return 100;
0 commit comments