laravel / 7 / api / 7.x / illuminate / foundation / bus / pendingchain.html

PendingChain

class PendingChain (View source)

Properties

mixed $job

The class name of the job being dispatched.

array $chain

The jobs to be chained.

Methods

void __construct(mixed $job, array $chain)

Create a new PendingChain instance.

PendingDispatch dispatch()

Dispatch the job with the given arguments.

Details

void __construct(mixed $job, array $chain)

Create a new PendingChain instance.

Parameters

mixed $job
array $chain

Return Value

void

PendingDispatch dispatch()

Dispatch the job with the given arguments.

Return Value

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/7.x/Illuminate/Foundation/Bus/PendingChain.html