symfony/symfony — pull request #8002 by Burgov (2013-05-10 12:00:40+00:00)
Title: [WIP][FrameworkBundle] Use new table helper in container:debug command

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

This PR updates the container:debug command in order to make use of the new Table output helper. This should make the code cleaner and easer to maintain in the future. There are some issues which probably should be discussed before continuing/merging:

- [ ] The layout breaks badly if the table doesn't fit into the console. For the normal services dump this won't occur so quickly, but when I tried to apply this on the --parameters command, it became unreadable
- [ ] The layout breaks if you use (or other) tags. The helper will take the chars in account, while they are not rendered. I stripped them for now
- [ ] I wanted to apply the helper on the service information view, but i think it won't be applicable... E.g. ``app/console cont:de data_collector.router``.

Let me know what you think about the issues