class Skip (View source)

Methods

__construct(bool $skip = false)

No description

static Skip
when(Closure|bool $condition)

No description

static Skip
unless(Closure|bool $condition)

No description

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)

No description

Parameters

Closure|bool $condition

Return Value

Skip

static Skip unless(Closure|bool $condition)

No description

Parameters

Closure|bool $condition

Return Value

Skip

mixed handle(mixed $job, callable $next)

Handle the job.

Parameters

mixed $job
callable $next

Return Value

mixed