From 4f6716b68265130906817961e1077aaf6180da71 Mon Sep 17 00:00:00 2001 From: JeroenG Date: Mon, 19 Jan 2026 11:32:31 +0100 Subject: [PATCH] Add missing chain method to interface --- Bus/Dispatcher.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Bus/Dispatcher.php b/Bus/Dispatcher.php index 3793174..bb55d3d 100644 --- a/Bus/Dispatcher.php +++ b/Bus/Dispatcher.php @@ -4,6 +4,14 @@ interface Dispatcher { + /** + * Create a new chain of queueable jobs. + * + * @param \Illuminate\Support\Collection|array|null $jobs + * @return mixed + */ + public function chain($jobs = null); + /** * Dispatch a command to its appropriate handler. *