Skip to content

Commit 6b31c45

Browse files
authored
Merge pull request #42 from romainf/xchangeapi-configuration
Missing configuration provider for xchangeapi
2 parents 6df4691 + 5c6e4cf commit 6b31c45

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

DependencyInjection/Configuration.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@ public function getConfigTreeBuilder()
136136
->end()
137137
->end()
138138
->end()
139+
->arrayNode('xchangeapi')
140+
->children()
141+
->integerNode('priority')->defaultValue(0)->end()
142+
->scalarNode('api_key')
143+
->treatFalseLike(null)
144+
->treatTrueLike(null)
145+
->isRequired()
146+
->cannotBeEmpty()
147+
->end()
148+
->end()
149+
->end()
139150
->arrayNode('currency_converter')
140151
->children()
141152
->integerNode('priority')->defaultValue(0)->end()

0 commit comments

Comments
 (0)