소스 검색

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