bug #16955 [FrameworkBundle] ContainerDebugCommand: pass the right object to the descriptors (xabbuh)

This PR was merged into the 2.8 branch.

Discussion
----------

[FrameworkBundle] ContainerDebugCommand: pass the right object to the descriptors

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | c5067dacb3 (commitcomment-14884960)
| License       | MIT
| Doc PR        |

Commits
-------

8cf0022 pass the right object to the descriptors
This commit is contained in:
Christophe Coevoet 2015-12-14 17:14:40 +01:00
commit 25b89d4af4

View File

@ -125,7 +125,7 @@ EOF
$helper = new DescriptorHelper();
$options['format'] = $input->getOption('format');
$options['raw_text'] = $input->getOption('raw');
$options['output'] = $output;
$options['output'] = $io;
$helper->describe($output, $object, $options);
if (!$input->getArgument('name') && $input->isInteractive()) {