class ChainedBatchTruthTest (View source)

Properties

protected Closure $callback

The underlying truth test.

Methods

void
__construct(Closure $callback)

Create a new truth test instance.

bool
__invoke(PendingBatch $pendingBatch)

Invoke the truth test with the given pending batch.

Details

void __construct(Closure $callback)

Create a new truth test instance.

Parameters

Closure $callback

Return Value

void

bool __invoke(PendingBatch $pendingBatch)

Invoke the truth test with the given pending batch.

Parameters

PendingBatch $pendingBatch

Return Value

bool