class PendingChainFake extends PendingChain (View source)
| mixed | $job | The class name of the job being dispatched. | from PendingChain | 
| array | $chain | The jobs to be chained. | from PendingChain | 
| string|null | $connection | The name of the connection the chain should be sent to. | from PendingChain | 
| string|null | $queue | The name of the queue the chain should be sent to. | from PendingChain | 
| DateTimeInterface|DateInterval|int|null | $delay | The number of seconds before the chain should be made available. | from PendingChain | 
| array | $catchCallbacks | The callbacks to be executed on failure. | from PendingChain | 
| protected BusFake | $bus | The fake bus instance. | 
| void | __construct(BusFake $bus, mixed $job, array $chain) Create a new pending chain instance. | |
| $this | onConnection(string|null $connection) Set the desired connection for the job. | from PendingChain | 
| $this | onQueue(string|null $queue) Set the desired queue for the job. | from PendingChain | 
| $this | delay(DateTimeInterface|DateInterval|int|null $delay) Set the desired delay for the chain. | from PendingChain | 
| $this | catch(callable $callback) Add a callback to be executed on job failure. | from PendingChain | 
| array | catchCallbacks() Get the "catch" callbacks that have been registered. | from PendingChain | 
| PendingDispatch | dispatch() Dispatch the job with the given arguments. | 
Create a new pending chain instance.
Set the desired connection for the job.
Set the desired queue for the job.
Set the desired delay for the chain.
Add a callback to be executed on job failure.
Get the "catch" callbacks that have been registered.
Dispatch the job with the given arguments.
    © Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
    https://laravel.com/api/8.x/Illuminate/Support/Testing/Fakes/PendingChainFake.html