diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
index b91a20cc6d..0195ff4648 100644
--- a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
+++ b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerDebugCommand.php
@@ -30,7 +30,7 @@ class ContainerDebugCommand extends Command
/**
* @var \Symfony\Component\DependencyInjection\ContainerBuilder
*/
- protected $containerBuilder;
+ private $containerBuilder;
/**
* @see Command
@@ -135,7 +135,7 @@ EOF
$output->writeln(sprintf($format, $serviceId, $definition->getScope(), $definition->getClass()));
} elseif ($definition instanceof Alias) {
$alias = $definition;
- $output->writeln(sprintf($format, $serviceId, sprintf('--> Alias for service %s', (string) $alias), ''));
+ $output->writeln(sprintf($format, $serviceId, 'n/a', sprintf('alias for %s', (string) $alias)));
} else {
// we have no information (happens with "service_container")
$service = $definition;
@@ -159,12 +159,12 @@ EOF
$output->writeln(sprintf('Service Id %s', $serviceId));
$output->writeln(sprintf('Class %s', $definition->getClass()));
- $tags = $definition->getTags() ? implode(', ', array_keys($definition->getTags())) : 'no tags';
+ $tags = $definition->getTags() ? implode(', ', array_keys($definition->getTags())) : '-';
$output->writeln(sprintf('Tags %s', $tags));
$output->writeln(sprintf('Scope %s', $definition->getScope()));
- $public = $definition->isPublic() ? 'public' : 'private';
+ $public = $definition->isPublic() ? 'yes' : 'no';
$output->writeln(sprintf('Public %s', $public));
} elseif ($definition instanceof Alias) {
$alias = $definition;