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

Appearance settings

Commit fd0e229

Browse filesBrowse files
author
Matthieu Auger
committed
Move debug commands to debug namespace
1 parent 3baea1f commit fd0e229
Copy full SHA for fd0e229

File tree

Expand file treeCollapse file tree

5 files changed

+20
-5
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+20
-5
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/ConfigDebugCommand.php
+4-1Lines 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
))

‎src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
+4-1Lines 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'),

‎src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php
+4-1Lines 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'),

‎src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
+4-1Lines 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'),

‎src/Symfony/Bundle/TwigBundle/Command/DebugCommand.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/TwigBundle/Command/DebugCommand.php
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ class DebugCommand extends ContainerAwareCommand
2727
protected function configure()
2828
{
2929
$this
30-
->setName('twig:debug')
30+
->setName('debug:twig')
31+
->setAliases(array(
32+
'twig:debug',
33+
))
3134
->setDefinition(array(
3235
new InputArgument('filter', InputArgument::OPTIONAL, 'Show details for all entries matching this filter'),
3336
new InputOption('format', null, InputOption::VALUE_REQUIRED, 'Output format: text or json', 'text'),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.