Преглед на файлове

[DependencyInjection] dump a readable format

Johannes M. Schmitt преди 14 години
родител
ревизия
ee05534815
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/CompilerDebugDumpPass.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/CompilerDebugDumpPass.php

@@ -12,7 +12,7 @@ class CompilerDebugDumpPass implements CompilerPassInterface
     public function process(ContainerBuilder $container)
     {
         $cache = new ConfigCache($this->getCompilerLogFilename($container), false);
-        $cache->write(serialize($container->getCompiler()->getLog()));
+        $cache->write(implode("\n", $container->getCompiler()->getLog()));
     }
 
     public static function getCompilerLogFilename(ContainerInterface $container)