class Illuminate / Support / Testing / Fakes / PendingBatchFake
You are viewing an older version of the documentation. For the latest, please visit master documentation.

PendingBatchFake

Extends

Properties

protected

$bus BusFake

The fake bus instance.

Default: null

Methods

public

__construct ( BusFake $bus , Collection $jobs ) : void

Create a new pending batch instance.

Parameters

public

dispatch ( ) : Batch

Dispatch the batch.