Skip to content

Commit d1cb043

Browse files
wouterjxabbuh
authored andcommitted
Reflect private to hidden renaming in the file name
1 parent 01f474f commit d1cb043

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

console/private_commands.rst renamed to console/hide_commands.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ executed through scheduled tasks, etc.
1111
In those cases, you can define the command as **hidden** by setting the
1212
``setHidden()`` method to ``true`` in the command configuration::
1313

14-
// src/AppBundle/Command/FooCommand.php
14+
// src/AppBundle/Command/LegacyCommand.php
1515
namespace AppBundle\Command;
1616

1717
use Symfony\Component\Console\Command\Command;
1818

19-
class FooCommand extends Command
19+
class LegacyCommand extends Command
2020
{
2121
protected function configure()
2222
{
2323
$this
24-
->setName('app:foo')
24+
->setName('app:legacy')
2525
->setHidden(true)
2626
// ...
2727
;

0 commit comments

Comments
 (0)