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