Ver Fonte

[DependencyInjection] made a small speed optimization

Fabien Potencier há 15 anos atrás
pai
commit
9b3eec8861

+ 3 - 1
src/Symfony/Components/DependencyInjection/Dumper/PhpDumper.php

@@ -306,7 +306,9 @@ EOF;
    */
   public function __construct()
   {
-    parent::__construct(\$this->getDefaultParameters());
+    parent::__construct();
+
+    \$this->parameters = \$this->getDefaultParameters();
   }
 
 EOF;