root('storage'); $root->useAttributeAsKey('storage_name') ->prototype('array') ->children() ->scalarNode('type')->end() ->scalarNode('bucket')->end() ->scalarNode('region')->end() ->scalarNode('endpoint')->end() ->end() ->end(); return ($treeBuilder); } }