Skip to content

Commit

Permalink
Reflect private to hidden renaming in the file name
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and xabbuh committed Jan 10, 2017
1 parent 01f474f commit d1cb043
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions console/private_commands.rst → console/hide_commands.rst
Original file line number Diff line number Diff line change
@@ -11,17 +11,17 @@ executed through scheduled tasks, etc.
In those cases, you can define the command as **hidden** by setting the
``setHidden()`` method to ``true`` in the command configuration::

// src/AppBundle/Command/FooCommand.php
// src/AppBundle/Command/LegacyCommand.php
namespace AppBundle\Command;

use Symfony\Component\Console\Command\Command;

class FooCommand extends Command
class LegacyCommand extends Command
{
protected function configure()
{
$this
->setName('app:foo')
->setName('app:legacy')
->setHidden(true)
// ...
;

0 comments on commit d1cb043

Please sign in to comment.