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()
|
->isRequired()
|
||||||
->end()
|
->end()
|
||||||
->arrayNode('cache')
|
->arrayNode('cache')
|
||||||
->scalarNode('ttl')
|
->children()
|
||||||
->info('TTL for cached API calls')
|
->scalarNode('ttl')
|
||||||
->example([1800, 'P30M'])
|
->info('TTL for cached API calls')
|
||||||
->defaultValue(1800)
|
->example([1800, 'P30M'])
|
||||||
->cannotBeEmpty()
|
->defaultValue(1800)
|
||||||
->isRequired()
|
->cannotBeEmpty()
|
||||||
|
->isRequired()
|
||||||
|
->end()
|
||||||
->end()
|
->end()
|
||||||
->end()
|
->end()
|
||||||
->end();
|
->end();
|
||||||
|
|||||||
Reference in new issue
Block a user