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.
ApplicationBuilder::withCommandRouting()
1 parent a32ba83 commit 598f26bCopy full SHA for 598f26b
src/Illuminate/Foundation/Configuration/ApplicationBuilder.php
@@ -274,7 +274,7 @@ public function withCommands(array $commands = [])
274
protected function withCommandRouting(array $paths)
275
{
276
$this->app->afterResolving(ConsoleKernel::class, function ($kernel) use ($paths) {
277
- $kernel->setCommandRoutePaths($paths);
+ $this->app->booted(fn () => $kernel->addCommandRoutePaths($paths));
278
});
279
}
280
0 commit comments