minor #12794 [FrameworkBundle][Router Cmd] Use debug namespace. (aitboudad)

This PR was merged into the 2.6 branch.

Discussion
----------

[FrameworkBundle][Router Cmd] Use debug namespace.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Commits
-------

408df7c [FrameworkBundle][Router Cmd] use debug namespace.
This commit is contained in:
Fabien Potencier 2014-12-01 18:53:46 +01:00
commit 1c8bfeaa6c

View File

@ -96,7 +96,7 @@ EOF
} elseif (TraceableUrlMatcher::ROUTE_MATCHES == $trace['level']) {
$output->writeln(sprintf('<fg=green>Route "%s" matches</>', $trace['name']));
$routerDebugcommand = $this->getApplication()->find('router:debug');
$routerDebugcommand = $this->getApplication()->find('debug:router');
$output->writeln('');
$routerDebugcommand->run(new ArrayInput(array('name' => $trace['name'])), $output);