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.
1 parent ffc2200 commit a51bc50Copy full SHA for a51bc50
messenger.rst
@@ -2640,15 +2640,8 @@ provided in order to ease the declaration of these special handlers::
2640
}
2641
2642
2643
- // Optionally, you can either redefine the `shouldFlush()` method
2644
- // of the trait to define your own batch size...
2645
- private function shouldFlush(): bool
2646
- {
2647
- return 100 <= \count($this->jobs);
2648
- }
2649
-
2650
- // ... or redefine the `getBatchSize()` method if the default
2651
- // 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...
2652
private function getBatchSize(): int
2653
{
2654
return 100;
0 commit comments