You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Command/Command.php
+23-2Lines changed: 23 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -83,14 +83,35 @@ public static function getDefaultDescription(): ?string
83
83
}
84
84
85
85
/**
86
-
* @param string|null $name The name of the command; passing null means it must be set in configure()
86
+
* @param string|callable|null $name The name of the command or an invokable object that uses AsCommand attribute; passing null means it must be set in configure()
87
87
*
88
88
* @throws LogicException When the command name is empty
0 commit comments