From 30f60525e47e98bc95bb4cb3f154a0e57e52fa02 Mon Sep 17 00:00:00 2001 From: cbeauvoi Date: Wed, 20 Feb 2019 11:52:28 +0100 Subject: [PATCH] debug --- StorageBundle/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StorageBundle/DependencyInjection/Configuration.php b/StorageBundle/DependencyInjection/Configuration.php index 2de4223..84a2413 100644 --- a/StorageBundle/DependencyInjection/Configuration.php +++ b/StorageBundle/DependencyInjection/Configuration.php @@ -19,7 +19,7 @@ class Configuration implements ConfigurationInterface $root = $treeBuilder->root('storage'); $root->children() ->arrayNode('storage_name') - ->prototype('array') + ->useAttributeAsKey('storage_name') ->children() ->scalarNode('type')->end() ->scalarNode('bucket')->end()