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 b716431 commit 101b74fCopy full SHA for 101b74f
CHANGELOG.md
@@ -4,6 +4,7 @@ CHANGELOG
4
5.1.0
5
-----
6
7
+ * `Command::setHidden()` is final since Symfony 5.1
8
* Add `SingleCommandApplication`
9
10
5.0.0
Command/Command.php
@@ -450,10 +450,13 @@ public function getName()
450
451
/**
452
* @param bool $hidden Whether or not the command should be hidden from the list of commands
453
+ * The default value will be true in Symfony 6.0
454
*
455
* @return Command The current instance
456
+ *
457
+ * @final since Symfony 5.1
458
*/
- public function setHidden(bool $hidden)
459
+ public function setHidden(bool $hidden /*= true*/)
460
{
461
$this->hidden = $hidden;
462
0 commit comments