fixed config definition
This commit is contained in:
1 parent
876f356009
commit
e9c4f4bca6
1 file changed
+8
-6
@@ -28,12 +28,14 @@ final class Configuration implements ConfigurationInterface
|
||||
->isRequired()
|
||||
->end()
|
||||
->arrayNode('cache')
|
||||
->scalarNode('ttl')
|
||||
->info('TTL for cached API calls')
|
||||
->example([1800, 'P30M'])
|
||||
->defaultValue(1800)
|
||||
->cannotBeEmpty()
|
||||
->isRequired()
|
||||
->children()
|
||||
->scalarNode('ttl')
|
||||
->info('TTL for cached API calls')
|
||||
->example([1800, 'P30M'])
|
||||
->defaultValue(1800)
|
||||
->cannotBeEmpty()
|
||||
->isRequired()
|
||||
->end()
|
||||
->end()
|
||||
->end()
|
||||
->end();
|
||||
|
||||
Reference in new issue
Block a user