You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

Bus

Extends

See

  • \Illuminate\Bus\Dispatcher
  • \Illuminate\Support\Testing\Fakes\BusFake

Methods

public static

fake ( $jobsToFake , BatchRepository $batchRepository ) : BusFake

Replace the bound instance with a fake.

Parameters

public static

dispatchChain ( $jobs ) : PendingDispatch

Dispatch the given chain of jobs.

Parameters

  • $jobs array|mixed
protected static

getFacadeAccessor ( ) : string

Get the registered name of the component.