added config definition for cache enabler
This commit is contained in:
1 parent
3ff3ddfdc5
commit
0ac58211fb
1 file changed
+6
@@ -29,6 +29,12 @@ final class Configuration implements ConfigurationInterface
|
||||
->end()
|
||||
->arrayNode('cache')
|
||||
->children()
|
||||
->booleanNode('enabled')
|
||||
->info('Enable/disable cache')
|
||||
->defaultTrue()
|
||||
->cannotBeEmpty()
|
||||
->isRequired()
|
||||
->end()
|
||||
->scalarNode('ttl')
|
||||
->info('TTL for cached API calls')
|
||||
->example([1800, 'P30M'])
|
||||
|
||||
Reference in new issue
Block a user