class Illuminate / Support / Testing / Fakes / PendingBatchFake

PendingBatchFake

Extends

Properties

protected

$bus BusFake

The fake bus instance.

Default: null

Methods

public

__construct ( BusFake $bus , Illuminate\...\Collection $jobs ) : void

Create a new pending batch instance.

Parameters

  • $bus BusFake
  • $jobs Illuminate\...\Collection
public

dispatch ( ) : Batch

Dispatch the batch.

public

dispatchAfterResponse ( ) : Batch

Dispatch the batch after the response is sent to the browser.