You've already forked redmine-bundle
added config definition for cache enabler
This commit is contained in:
@@ -29,6 +29,12 @@ final class Configuration implements ConfigurationInterface
|
|||||||
->end()
|
->end()
|
||||||
->arrayNode('cache')
|
->arrayNode('cache')
|
||||||
->children()
|
->children()
|
||||||
|
->booleanNode('enabled')
|
||||||
|
->info('Enable/disable cache')
|
||||||
|
->defaultTrue()
|
||||||
|
->cannotBeEmpty()
|
||||||
|
->isRequired()
|
||||||
|
->end()
|
||||||
->scalarNode('ttl')
|
->scalarNode('ttl')
|
||||||
->info('TTL for cached API calls')
|
->info('TTL for cached API calls')
|
||||||
->example([1800, 'P30M'])
|
->example([1800, 'P30M'])
|
||||||
|
|||||||
Reference in New Issue
Block a user