class
Illuminate
/
Support
/
Testing
/
Fakes
/
PendingBatchFake
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PendingBatchFake
Extends
Properties
Methods
public
__construct ( BusFake $bus , Illuminate\...\Collection $jobs ) : void
Create a new pending batch instance.
Parameters
- $bus BusFake
- $jobs Illuminate\...\Collection
public
dispatchAfterResponse ( ) : Batch
Dispatch the batch after the response is sent to the browser.