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

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.