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)

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)

Invoke the truth test with the given pending batch.

Parameters

$pendingBatch

Return Value

bool