This commit is contained in:
Cyprian Beauvois 2019-02-20 11:54:31 +01:00
parent 30f60525e4
commit 401b73f92c
1 changed files with 6 additions and 10 deletions

View File

@ -17,16 +17,12 @@ class Configuration implements ConfigurationInterface
{
$treeBuilder = new TreeBuilder();
$root = $treeBuilder->root('storage');
$root->children()
->arrayNode('storage_name')
->useAttributeAsKey('storage_name')
->children()
->scalarNode('type')->end()
->scalarNode('bucket')->end()
->scalarNode('region')->end()
->scalarNode('endpoint')->end()
->end()
->end()
$root->useAttributeAsKey('storage_name')
->children()
->scalarNode('type')->end()
->scalarNode('bucket')->end()
->scalarNode('region')->end()
->scalarNode('endpoint')->end()
->end()
->end();
return ($treeBuilder);