private function getConfigData(ConfigDataCollector $collector)
 {
     $data = array('symfony_version' => $collector->getSymfonyVersion(), 'os' => PHP_OS, 'php_version' => $collector->getPhpVersion(), 'php_extensions' => get_loaded_extensions(), 'debug' => $collector->isDebug(), 'xdebug' => $collector->hasXDebug(), 'eaccelerator' => $collector->hasEAccelerator(), 'apc' => $collector->hasApc(), 'xcache' => $collector->hasXCache(), 'bundles' => array());
     foreach (array_keys($collector->getBundles()) as $bundleName) {
         $class = get_class($this->kernel->getBundle($bundleName));
         if ($this->isNamespaceWhitelisted($class)) {
             $data['bundles'][$bundleName] = $class;
             continue;
         }
         $data['bundles'][] = 'XXX';
     }
     return $data;
 }