Bus

Illuminate\Support\Facades\Bus

class src/Illuminate/Support/Facades/Bus.php

assertBatchCount

v11.0.0 以前から

static @method

static assertBatchCount(int $count): void
  1. v11.0.0 追加
    変更後
    @method static assertBatchCount(int $count): void

assertBatched

v11.0.0 以前から

static @method

static assertBatched(array|callable $callback): void
  1. v11.0.0 追加
    変更後
    @method static assertBatched(callable $callback): void
  2. v12.51.0 シグネチャ変更
    変更前
    @method static assertBatched(callable $callback): void
    変更後
    @method static assertBatched(array|callable $callback): void

assertChained

v11.0.0 以前から

static @method

static assertChained(array $expectedChain): void
  1. v11.0.0 追加
    変更後
    @method static assertChained(array $expectedChain): void

assertDispatched

v11.0.0 以前から

static @method

static assertDispatched(string|\Closure $command, callable|array|int|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatched(string|\Closure $command, callable|int|null $callback = null): void
  2. v13.35.0 シグネチャ変更
    変更前
    @method static assertDispatched(string|\Closure $command, callable|int|null $callback = null): void
    変更後
    @method static assertDispatched(string|\Closure $command, callable|array|int|null $callback = null): void

assertDispatchedAfterResponse

v11.0.0 以前から

static @method

static assertDispatchedAfterResponse(string|\Closure $command, callable|int|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedAfterResponse(string|\Closure $command, callable|int|null $callback = null): void

assertDispatchedAfterResponseTimes

v11.0.0 以前から

static @method

static assertDispatchedAfterResponseTimes(string|\Closure $command, int $times = 1): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedAfterResponseTimes(string|\Closure $command, int $times = 1): void

assertDispatchedOnce

v12.22.0 から

static @method

static assertDispatchedOnce(string|\Closure $command): void
  1. v12.22.0 追加
    変更後
    @method static assertDispatchedOnce(string|\Closure $command, int $times = null): void
  2. v12.54.0 シグネチャ変更
    変更前
    @method static assertDispatchedOnce(string|\Closure $command, int $times = null): void
    変更後
    @method static assertDispatchedOnce(string|\Closure $command): void

assertDispatchedSync

v11.0.0 以前から

static @method

static assertDispatchedSync(string|\Closure $command, callable|int|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedSync(string|\Closure $command, callable|int|null $callback = null): void

assertDispatchedSyncTimes

v11.0.0 以前から

static @method

static assertDispatchedSyncTimes(string|\Closure $command, int $times = 1): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedSyncTimes(string|\Closure $command, int $times = 1): void

assertDispatchedTimes

v11.0.0 以前から

static @method

static assertDispatchedTimes(string|\Closure $command, int $times = 1): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedTimes(string|\Closure $command, int $times = 1): void

assertDispatchedWithoutChain

v11.0.0 以前から

static @method

static assertDispatchedWithoutChain(string|\Closure $command, callable|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertDispatchedWithoutChain(string|\Closure $command, callable|null $callback = null): void

assertNotDispatched

v11.0.0 以前から

static @method

static assertNotDispatched(string|\Closure $command, callable|array|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertNotDispatched(string|\Closure $command, callable|null $callback = null): void
  2. v13.35.0 シグネチャ変更
    変更前
    @method static assertNotDispatched(string|\Closure $command, callable|null $callback = null): void
    変更後
    @method static assertNotDispatched(string|\Closure $command, callable|array|null $callback = null): void

assertNotDispatchedAfterResponse

v11.0.0 以前から

static @method

static assertNotDispatchedAfterResponse(string|\Closure $command, callable|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertNotDispatchedAfterResponse(string|\Closure $command, callable|null $callback = null): void

assertNotDispatchedSync

v11.0.0 以前から

static @method

static assertNotDispatchedSync(string|\Closure $command, callable|null $callback = null): void
  1. v11.0.0 追加
    変更後
    @method static assertNotDispatchedSync(string|\Closure $command, callable|null $callback = null): void

assertNothingBatched

v11.0.0 以前から

static @method

static assertNothingBatched(): void
  1. v11.0.0 追加
    変更後
    @method static assertNothingBatched(): void

assertNothingChained

v11.34.0 から

static @method

static assertNothingChained(): void
  1. v11.34.0 追加
    変更後
    @method static assertNothingChained(): void

assertNothingDispatched

v11.0.0 以前から

static @method

static assertNothingDispatched(): void
  1. v11.0.0 追加
    変更後
    @method static assertNothingDispatched(): void

assertNothingPlaced

v11.34.0 から

static @method

static assertNothingPlaced(): void
  1. v11.34.0 追加
    変更後
    @method static assertNothingPlaced(): void

batch

v11.0.0 以前から

static @method

static batch(\Illuminate\Support\Collection|mixed $jobs): \Illuminate\Bus\PendingBatch
  1. v11.0.0 追加
    変更後
    @method static batch(\Illuminate\Support\Collection|array|mixed $jobs): \Illuminate\Bus\PendingBatch
  2. v12.22.0 シグネチャ変更
    変更前
    @method static batch(\Illuminate\Support\Collection|array|mixed $jobs): \Illuminate\Bus\PendingBatch
    変更後
    @method static batch(\Illuminate\Support\Collection|mixed $jobs): \Illuminate\Bus\PendingBatch

batched

v11.0.0 以前から

static @method

static batched(callable $callback): \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    @method static batched(callable $callback): \Illuminate\Support\Collection
  2. v13.4.0 シグネチャ変更
    変更前
    @method static batched(callable $callback): \Illuminate\Support\Collection
    変更後
    @method static batched(callable $callback): \Illuminate\Support\Collection<int, \Illuminate\Bus\PendingBatch>
  3. v13.6.0 シグネチャ変更
    変更前
    @method static batched(callable $callback): \Illuminate\Support\Collection<int, \Illuminate\Bus\PendingBatch>
    変更後
    @method static batched(callable $callback): \Illuminate\Support\Collection

bulk

v13.13.0 から

static @method

static bulk(iterable $jobs): void
  1. v13.13.0 追加
    変更後
    @method static bulk(iterable $jobs): void

chain

v11.0.0 以前から

static @method

static chain(\Illuminate\Support\Collection|array|null $jobs = null): \Illuminate\Foundation\Bus\PendingChain
  1. v11.0.0 追加
    変更後
    @method static chain(\Illuminate\Support\Collection|array $jobs): \Illuminate\Foundation\Bus\PendingChain
  2. v12.22.0 シグネチャ変更
    変更前
    @method static chain(\Illuminate\Support\Collection|array $jobs): \Illuminate\Foundation\Bus\PendingChain
    変更後
    @method static chain(\Illuminate\Support\Collection|array|null $jobs = null): \Illuminate\Foundation\Bus\PendingChain

chainedBatch

v11.0.0 以前から

static @method

static chainedBatch(\Closure $callback): \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest
  1. v11.0.0 追加
    変更後
    @method static chainedBatch(\Closure $callback): \Illuminate\Support\Testing\Fakes\ChainedBatchTruthTest

dispatch

v11.0.0 以前から

static @method

static dispatch(mixed $command): mixed
  1. v11.0.0 追加
    変更後
    @method static dispatch(mixed $command): mixed

dispatchAfterResponse

v11.0.0 以前から

static @method

static dispatchAfterResponse(mixed $command, mixed $handler = null): void
  1. v11.0.0 追加
    変更後
    @method static dispatchAfterResponse(mixed $command, mixed $handler = null): void

dispatchChain

v11.0.0 以前から

static

static dispatchChain($jobs)
@param mixed $jobs
@return \Illuminate\Foundation\Bus\PendingDispatch
  1. v11.0.0 追加
    変更後
    static dispatchChain($jobs) [@param array|mixed $jobs, @return \Illuminate\Foundation\Bus\PendingDispatch]
  2. v12.26.0 シグネチャ変更
    変更前
    static dispatchChain($jobs) [@param array|mixed $jobs, @return \Illuminate\Foundation\Bus\PendingDispatch]
    変更後
    static dispatchChain($jobs) [@param mixed $jobs, @return \Illuminate\Foundation\Bus\PendingDispatch]

dispatched

v11.0.0 以前から

static @method

static dispatched(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    @method static dispatched(string $command, callable|null $callback = null): \Illuminate\Support\Collection
  2. v13.35.0 シグネチャ変更
    変更前
    @method static dispatched(string $command, callable|null $callback = null): \Illuminate\Support\Collection
    変更後
    @method static dispatched(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection

dispatchedAfterResponse

v11.0.0 以前から

static @method

static dispatchedAfterResponse(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    @method static dispatchedAfterResponse(string $command, callable|null $callback = null): \Illuminate\Support\Collection
  2. v13.35.0 シグネチャ変更
    変更前
    @method static dispatchedAfterResponse(string $command, callable|null $callback = null): \Illuminate\Support\Collection
    変更後
    @method static dispatchedAfterResponse(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection

dispatchedBatches

v11.18.0 から

static @method

static dispatchedBatches(): array
  1. v11.18.0 追加
    変更後
    @method static dispatchedBatches(): array

dispatchedSync

v11.0.0 以前から

static @method

static dispatchedSync(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection
  1. v11.0.0 追加
    変更後
    @method static dispatchedSync(string $command, callable|null $callback = null): \Illuminate\Support\Collection
  2. v13.35.0 シグネチャ変更
    変更前
    @method static dispatchedSync(string $command, callable|null $callback = null): \Illuminate\Support\Collection
    変更後
    @method static dispatchedSync(string $command, callable|array|null $callback = null): \Illuminate\Support\Collection

dispatchFakeBatch

v11.0.0 以前から

static @method

static dispatchFakeBatch(string $name = ''): \Illuminate\Bus\Batch
  1. v11.0.0 追加
    変更後
    @method static dispatchFakeBatch(string $name = ''): \Illuminate\Bus\Batch

dispatchNow

v11.0.0 以前から

static @method

static dispatchNow(mixed $command, mixed $handler = null): mixed
  1. v11.0.0 追加
    変更後
    @method static dispatchNow(mixed $command, mixed $handler = null): mixed

dispatchSync

v11.0.0 以前から

static @method

static dispatchSync(mixed $command, mixed $handler = null): mixed
  1. v11.0.0 追加
    変更後
    @method static dispatchSync(mixed $command, mixed $handler = null): mixed

dispatchToQueue

v11.0.0 以前から

static @method

static dispatchToQueue(mixed $command): mixed
  1. v11.0.0 追加
    変更後
    @method static dispatchToQueue(mixed $command): mixed

except

v11.0.0 以前から

static @method

static except(array|string $jobsToDispatch): \Illuminate\Support\Testing\Fakes\BusFake
  1. v11.0.0 追加
    変更後
    @method static except(array|string $jobsToDispatch): \Illuminate\Support\Testing\Fakes\BusFake

fake

v11.0.0 以前から

static

static fake($jobsToFake = [], ?Illuminate\Bus\BatchRepository $batchRepository = null)
@param array|string $jobsToFake
@param \Illuminate\Bus\BatchRepository|null $batchRepository
@return \Illuminate\Support\Testing\Fakes\BusFake
  1. v11.0.0 追加
    変更後
    static fake($jobsToFake = [], Illuminate\Bus\BatchRepository $batchRepository = null) [@param array|string $jobsToFake, @param \Illuminate\Bus\BatchRepository|null $batchRepository, @return \Illuminate\Support\Testing\Fakes\BusFake]
  2. v11.3.0 シグネチャ変更
    変更前
    static fake($jobsToFake = [], Illuminate\Bus\BatchRepository $batchRepository = null) [@param array|string $jobsToFake, @param \Illuminate\Bus\BatchRepository|null $batchRepository, @return \Illuminate\Support\Testing\Fakes\BusFake]
    変更後
    static fake($jobsToFake = [], ?Illuminate\Bus\BatchRepository $batchRepository = null) [@param array|string $jobsToFake, @param \Illuminate\Bus\BatchRepository|null $batchRepository, @return \Illuminate\Support\Testing\Fakes\BusFake]

findBatch

v11.0.0 以前から

static @method

static findBatch(string $batchId): \Illuminate\Bus\Batch|null
  1. v11.0.0 追加
    変更後
    @method static findBatch(string $batchId): \Illuminate\Bus\Batch|null

getCommandHandler

v11.0.0 以前から

static @method

static getCommandHandler(mixed $command): mixed
  1. v11.0.0 追加
    変更後
    @method static getCommandHandler(mixed $command): bool|mixed
  2. v12.22.0 シグネチャ変更
    変更前
    @method static getCommandHandler(mixed $command): bool|mixed
    変更後
    @method static getCommandHandler(mixed $command): mixed

hasCommandHandler

v11.0.0 以前から

static @method

static hasCommandHandler(mixed $command): bool
  1. v11.0.0 追加
    変更後
    @method static hasCommandHandler(mixed $command): bool

hasDispatched

v11.0.0 以前から

static @method

static hasDispatched(string $command): bool
  1. v11.0.0 追加
    変更後
    @method static hasDispatched(string $command): bool

hasDispatchedAfterResponse

v11.0.0 以前から

static @method

static hasDispatchedAfterResponse(string $command): bool
  1. v11.0.0 追加
    変更後
    @method static hasDispatchedAfterResponse(string $command): bool

hasDispatchedSync

v11.0.0 以前から

static @method

static hasDispatchedSync(string $command): bool
  1. v11.0.0 追加
    変更後
    @method static hasDispatchedSync(string $command): bool

map

v11.0.0 以前から

static @method

static map(array $map): \Illuminate\Bus\Dispatcher
  1. v11.0.0 追加
    変更後
    @method static map(array $map): \Illuminate\Bus\Dispatcher

pipeThrough

v11.0.0 以前から

static @method

static pipeThrough(array $pipes): \Illuminate\Bus\Dispatcher
  1. v11.0.0 追加
    変更後
    @method static pipeThrough(array $pipes): \Illuminate\Bus\Dispatcher

recordPendingBatch

v11.0.0 以前から

static @method

static recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch): \Illuminate\Bus\Batch
  1. v11.0.0 追加
    変更後
    @method static recordPendingBatch(\Illuminate\Bus\PendingBatch $pendingBatch): \Illuminate\Bus\Batch

resolveConnectionFromQueueRoute

v13.0.0 から

static @method

static resolveConnectionFromQueueRoute(object $queueable): string|null
  1. v13.0.0 追加
    変更後
    @method static resolveConnectionFromQueueRoute(object $queueable): string|null

resolveQueueFromQueueRoute

v13.0.0 から

static @method

static resolveQueueFromQueueRoute(object $queueable): string|null
  1. v13.0.0 追加
    変更後
    @method static resolveQueueFromQueueRoute(object $queueable): string|null

serializeAndRestore

v11.0.0 以前から

static @method

static serializeAndRestore(bool $serializeAndRestore = true): \Illuminate\Support\Testing\Fakes\BusFake
  1. v11.0.0 追加
    変更後
    @method static serializeAndRestore(bool $serializeAndRestore = true): \Illuminate\Support\Testing\Fakes\BusFake

withDispatchingAfterResponses

v12.11.0 から

static @method

static withDispatchingAfterResponses(): \Illuminate\Bus\Dispatcher
  1. v12.11.0 追加
    変更後
    @method static withDispatchingAfterResponses(): \Illuminate\Bus\Dispatcher

withoutDispatchingAfterResponses

v12.11.0 から

static @method

static withoutDispatchingAfterResponses(): \Illuminate\Bus\Dispatcher
  1. v12.11.0 追加
    変更後
    @method static withoutDispatchingAfterResponses(): \Illuminate\Bus\Dispatcher