mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-08 08:49:52 +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... */
|
/* @phpstan-ignore-next-line As there are inconsistencies in return types, but the code works... */
|
||||||
$rootNode->children()
|
$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
|
// openstack node
|
||||||
->arrayNode('openstack')
|
->arrayNode('openstack')
|
||||||
->info('parameters to authenticate and generate temp url against the openstack object storage service')
|
->info('parameters to authenticate and generate temp url against the openstack object storage service')
|
||||||
->addDefaultsIfNotSet()
|
|
||||||
->children()
|
->children()
|
||||||
// openstack.temp_url
|
// openstack.temp_url
|
||||||
->arrayNode('temp_url')
|
->arrayNode('temp_url')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user