Skip

Illuminate\Queue\Middleware\Skip

class src/Illuminate/Queue/Middleware/Skip.php

__construct

v11.23.0 から

__construct(bool $skip = false)
@param bool $skip
  1. v11.23.0 追加
    変更後
    __construct(bool $skip = false)
  2. v13.21.0 シグネチャ変更
    変更前
    __construct(bool $skip = false)
    変更後
    __construct(bool $skip = false) [@param bool $skip]

handle

v11.23.0 から

handle(mixed $job, callable $next): mixed
  1. v11.23.0 追加
    変更後
    handle(mixed $job, callable $next): mixed

unless

v11.23.0 から

static

static unless(Closure|bool $condition): static
@param bool|(\Closure(): bool) $condition
  1. v11.23.0 追加
    変更後
    static unless(Closure|bool $condition): self [@param bool|Closure(): bool $condition]
  2. v13.5.0 シグネチャ変更
    変更前
    static unless(Closure|bool $condition): self [@param bool|Closure(): bool $condition]
    変更後
    static unless(Closure|bool $condition): static [@param bool|(\Closure(): bool) $condition]

when

v11.23.0 から

static

static when(Closure|bool $condition): static
@param bool|(\Closure(): bool) $condition
  1. v11.23.0 追加
    変更後
    static when(Closure|bool $condition): self [@param bool|Closure(): bool $condition]
  2. v13.5.0 シグネチャ変更
    変更前
    static when(Closure|bool $condition): self [@param bool|Closure(): bool $condition]
    変更後
    static when(Closure|bool $condition): static [@param bool|(\Closure(): bool) $condition]