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