class Skip (View source)

Methods

__construct(bool $skip = false)

No description

static Skip
when(Closure|bool $condition)

Apply the middleware if the given condition is truthy.

static Skip
unless(Closure|bool $condition)

Apply the middleware unless the given condition is truthy.

mixed
handle(mixed $job, callable $next)

Handle the job.

Details

__construct(bool $skip = false)

No description

Parameters

bool $skip

static Skip when(Closure|bool $condition)

Apply the middleware if the given condition is truthy.

Parameters

Closure|bool $condition

Return Value

Skip

static Skip unless(Closure|bool $condition)

Apply the middleware unless the given condition is truthy.

Parameters

Closure|bool $condition

Return Value

Skip

mixed handle(mixed $job, callable $next)

Handle the job.

Parameters

mixed $job
callable $next

Return Value

mixed

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.