Browse Source

[DependencyInjection] dump a readable format

Johannes M. Schmitt 14 years ago
parent
commit
ee05534815

+ 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)