class Illuminate / Support / Facades / Queue
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

Queue

Extends

See

  • \Illuminate\Queue\QueueManager
  • \Illuminate\Queue\Queue
  • \Illuminate\Support\Testing\Fakes\QueueFake

Methods

public static

popUsing ( $workerName , $callback ) : void

Register a callback to be executed to pick jobs.

Parameters

  • $workerName string
  • $callback callable
public static

fake ( $jobsToFake ) : QueueFake

Replace the bound instance with a fake.

Parameters

  • $jobsToFake array|string
protected static

getFacadeAccessor ( ) : string

Get the registered name of the component.