瀏覽代碼

disallow new handlers in subsequent configs

Johannes Schmitt 13 年之前
父節點
當前提交
4892217a45
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      DependencyInjection/Configuration.php

+ 1 - 0
DependencyInjection/Configuration.php

@@ -65,6 +65,7 @@ class Configuration implements ConfigurationInterface
         $handlerNode = $builder
             ->arrayNode('handlers')
                 ->addDefaultsIfNotSet()
+                ->disallowNewKeysInSubsequentConfigs()
                 ->children()
         ;