private function getContainerBuilder()
 {
     if (!$this->kernel->isDebug()) {
         throw new \Exception("Not in debug mode");
     }
     $cachedFile = $this->container->getParameter('debug.container.dump');
     $container = new ContainerBuilder();
     $loader = new XmlFileLoader($container, new FileLocator());
     $loader->load($cachedFile);
     return $container;
 }