There was an error while loading. Please reload this page.
registerDevCommands
1 parent ff64b49 commit a1f16caCopy full SHA for a1f16ca
1 file changed
src/Horizon.php
@@ -284,4 +284,16 @@ public static function routeSmsNotificationsTo($number)
284
285
return new static;
286
}
287
+
288
+ /**
289
+ * Register the Horizon dev commands.
290
+ *
291
+ * @return void
292
+ */
293
+ public static function registerDevCommands()
294
+ {
295
+ if (class_exists(\Illuminate\Foundation\DevCommands::class)) {
296
+ \Illuminate\Foundation\DevCommands::artisan('horizon', 'horizon');
297
+ }
298
299
0 commit comments