privates['console.command.container_debug'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\ContainerDebugCommand(); $instance->setName('debug:container'); $instance->setDescription('Display current services for an application'); return $instance; } }