class ChainedBatchTruthTest (View source)

Properties

protected PendingBatch): bool $callback

The underlying truth test.

Methods

__construct(Closure $callback)

Create a new truth test instance.

bool
__invoke(PendingBatch $pendingBatch)

Invoke the truth test with the given pending batch.

Details

__construct(Closure $callback)

Create a new truth test instance.

Parameters

Closure $callback

bool __invoke(PendingBatch $pendingBatch)

Invoke the truth test with the given pending batch.

Parameters

PendingBatch $pendingBatch

Return Value

bool

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.