Skip to content

Commit 8b9340c

Browse files
author
Matthieu Auger
committed
Move debug commands to debug namespace
1 parent fd23e86 commit 8b9340c

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

Command/ConfigDebugCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ class ConfigDebugCommand extends AbstractConfigCommand
3030
protected function configure()
3131
{
3232
$this
33-
->setName('config:debug')
33+
->setName('debug:config')
34+
->setAliases(array(
35+
'config:debug',
36+
))
3437
->setDefinition(array(
3538
new InputArgument('name', InputArgument::OPTIONAL, 'The Bundle name or the extension alias'),
3639
))

Command/ContainerDebugCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ class ContainerDebugCommand extends ContainerAwareCommand
3838
protected function configure()
3939
{
4040
$this
41-
->setName('container:debug')
41+
->setName('debug:container')
42+
->setAliases(array(
43+
'container:debug',
44+
))
4245
->setDefinition(array(
4346
new InputArgument('name', InputArgument::OPTIONAL, 'A service name (foo)'),
4447
new InputOption('show-private', null, InputOption::VALUE_NONE, 'Used to show public *and* private services'),

Command/RouterDebugCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ public function isEnabled()
4949
protected function configure()
5050
{
5151
$this
52-
->setName('router:debug')
52+
->setName('debug:router')
53+
->setAliases(array(
54+
'router:debug',
55+
))
5356
->setDefinition(array(
5457
new InputArgument('name', InputArgument::OPTIONAL, 'A route name'),
5558
new InputOption('show-controllers', null, InputOption::VALUE_NONE, 'Show assigned controllers in overview'),

Command/TranslationDebugCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ class TranslationDebugCommand extends ContainerAwareCommand
3838
protected function configure()
3939
{
4040
$this
41-
->setName('translation:debug')
41+
->setName('debug:translation')
42+
->setAliases(array(
43+
'translation:debug',
44+
))
4245
->setDefinition(array(
4346
new InputArgument('locale', InputArgument::REQUIRED, 'The locale'),
4447
new InputArgument('bundle', InputArgument::REQUIRED, 'The bundle name'),

0 commit comments

Comments
 (0)