W3cubDocs

/Laravel 5.8

PendingChain

class PendingChain (View source)

Properties

string $class The class name of the job being dispatched.
array $chain The jobs to be chained.

Methods

void __construct(string $class, array $chain)

Create a new PendingChain instance.

PendingDispatch dispatch()

Dispatch the job with the given arguments.

Details

void __construct(string $class, array $chain)

Create a new PendingChain instance.

Parameters

string $class
array $chain

Return Value

void

PendingDispatch dispatch()

Dispatch the job with the given arguments.

Return Value

PendingDispatch

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