mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Define new configuration for local storage
This commit is contained in:
parent
67b5bc6dba
commit
d7652658f2
@ -30,10 +30,18 @@ class Configuration implements ConfigurationInterface
|
||||
|
||||
/* @phpstan-ignore-next-line As there are inconsistencies in return types, but the code works... */
|
||||
$rootNode->children()
|
||||
->arrayNode('local_storage')
|
||||
->info('where the stored object should be stored')
|
||||
->children()
|
||||
->scalarNode('storage_path')
|
||||
->info('the folder where the stored object should be stored')
|
||||
->isRequired()->cannotBeEmpty()
|
||||
->end() // end of storage_path
|
||||
->end() // end of children
|
||||
->end() // end of local_storage
|
||||
// openstack node
|
||||
->arrayNode('openstack')
|
||||
->info('parameters to authenticate and generate temp url against the openstack object storage service')
|
||||
->addDefaultsIfNotSet()
|
||||
->children()
|
||||
// openstack.temp_url
|
||||
->arrayNode('temp_url')
|
||||
|
Loading…
x
Reference in New Issue
Block a user