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.
1 parent ce091a5 commit d8083e6Copy full SHA for d8083e6
src/Kernel.php
@@ -42,6 +42,10 @@ public static function attach(array $commands): self
42
{
43
$application = new Application('Narrative', '@dev');
44
45
+ foreach ($application->all() as $command) {
46
+ $command->setHidden(true);
47
+ }
48
+
49
$application->addCommands($commands);
50
51
return new self($application);
@@ -54,6 +58,6 @@ public static function attach(array $commands): self
54
58
*/
55
59
public function dispatch(InputInterface $inputInterface): void
56
60
57
- $this->application->run($inputInterface);
61
+ $this->application->$this->application->run($inputInterface);
62
}
63
0 commit comments