We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
addOption
1 parent 62a73b2 commit cc9bf73Copy full SHA for cc9bf73
src/Illuminate/Bus/PendingBatch.php
@@ -215,6 +215,20 @@ public function onQueue(string $queue)
215
216
return $this;
217
}
218
+
219
+ /**
220
+ * Specify additional option.
221
+ *
222
+ * @param string $key
223
+ * @param mixed $value
224
+ * @return $this
225
+ */
226
+ public function addOption(string $key, $value)
227
+ {
228
+ $this->options[$key] = $value;
229
230
+ return $this;
231
+ }
232
233
/**
234
* Get the queue used by the pending batch.
0 commit comments