瀏覽代碼

Removed replacement of parameter placeholders at load time since they're now replaced at compile time. Extensions should be written to expect parameter placeholders.

Revert "[DependencyInjection] Allow parameter replacement within extension configurations."

This reverts commit ab7ad4808bb79f8df8ead811a6412b9e98d4ebcb.

Conflicts:

	src/Symfony/Component/DependencyInjection/ContainerBuilder.php
Kris Wallsmith 14 年之前
父節點
當前提交
f33cf0ba5d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/DependencyInjection/ContainerBuilder.php

+ 1 - 1
src/Symfony/Component/DependencyInjection/ContainerBuilder.php

@@ -150,7 +150,7 @@ class ContainerBuilder extends Container implements TaggedContainerInterface
             $this->extensionConfigs[$namespace] = array();
         }
 
-        $this->extensionConfigs[$namespace][] = $this->getParameterBag()->resolveValue($values);
+        $this->extensionConfigs[$namespace][] = $values;
 
         return $this;
     }