Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1cb043

Browse files
wouterjxabbuh
authored andcommitted
Reflect private to hidden renaming in the file name
1 parent01f474f commitd1cb043

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‎

Lines changed: 3 additions & 3 deletions
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-
classFooCommand extends Command
19+
classLegacyCommand 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)

[8]ページ先頭

©2009-2025 Movatter.jp