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 440cb1d + a51bc50 commit e2b4fe4Copy full SHA for e2b4fe4
messenger.rst
@@ -2557,15 +2557,8 @@ provided in order to ease the declaration of these special handlers::
2557
}
2558
2559
2560
- // Optionally, you can either redefine the `shouldFlush()` method
2561
- // of the trait to define your own batch size...
2562
- private function shouldFlush(): bool
2563
- {
2564
- return $this->getBatchSize() <= \count($this->jobs);
2565
- }
2566
-
2567
- // ... or redefine the `getBatchSize()` method if the default
2568
- // 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...
2569
private function getBatchSize(): int
2570
{
2571
return 100;
0 commit comments