Queueable

Queueable trait Queueable (View source) Properties string|null $connection The name of the connection the job should be sent to. string|null $queue The name of the queue the job should be sent to. DateTime|int|null $delay The number of seconds before the job should be made available.

Queue::__construct()

void __construct(HttpKernelInterface $app, CookieJar $cookies) Create a new CookieQueue instance. Parameters HttpKernelInterface $app CookieJar $cookies Return Value void

Queue::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed Exceptions RuntimeException

Queue::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Queue::spy()

static void spy() Convert the facade into a Mockery spy. Return Value void

Queue::size()

int size(string $queue = null) Get the size of the queue. Parameters string $queue Return Value int

Queue::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

Queue::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void

Queue::setContainer()

void setContainer(Container $container) Set the IoC container instance. Parameters Container $container Return Value void

Queue::pushRaw()

mixed pushRaw(string $payload, string $queue = null, array $options = array()) Push a raw payload onto the queue. Parameters string $payload string $queue array $options Return Value mixed