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,17 +17,13 @@ class Configuration implements ConfigurationInterface
{
$treeBuilder = new TreeBuilder();
$root = $treeBuilder->root('storage');
$root->children()
->arrayNode('storage_name')
->useAttributeAsKey('storage_name')
$root->useAttributeAsKey('storage_name')
->children()
->scalarNode('type')->end()
->scalarNode('bucket')->end()
->scalarNode('region')->end()
->scalarNode('endpoint')->end()
->end()
->end()
->end()
->end();
return ($treeBuilder);
}