[FrameworkBundle][Command] ContainerDebugCommand - Changed visibility to allow re use in childs

This commit is contained in:
Eduardo Gulias 2012-06-26 09:01:12 +02:00
parent 5a8e20643e
commit 4bfb6fddf7

View File

@ -32,7 +32,7 @@ class ContainerDebugCommand extends ContainerAwareCommand
/**
* @var ContainerBuilder
*/
private $containerBuilder;
protected $containerBuilder;
/**
* @see Command
@ -209,7 +209,7 @@ EOF
*
* @return \Symfony\Component\DependencyInjection\Definition|\Symfony\Component\DependencyInjection\Alias
*/
private function resolveServiceDefinition($serviceId)
protected function resolveServiceDefinition($serviceId)
{
if ($this->containerBuilder->hasDefinition($serviceId)) {
return $this->containerBuilder->getDefinition($serviceId);