Skip to content

Commit

Permalink
Add support for 'query' option (#37)
Browse files Browse the repository at this point in the history
Add support for 'query' option
  • Loading branch information
trongrg authored and Florian Preusner committed Apr 8, 2016
1 parent 47f7c4a commit d79f2fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ private function createClientsNode() {
->arrayNode('auth')
->prototype('scalar')
->end()
->end()
->arrayNode('query')
->prototype('scalar')
->end()
->end()
->scalarNode('cert')->end()
->scalarNode('connect_timeout')->end()
Expand Down
2 changes: 2 additions & 0 deletions Tests/DependencyInjection/ConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public function testSingleClientConfigWithOptions()
'user',
'pass'
],
'query' => [
],
'cert' => 'path/to/cert',
'connect_timeout' => 5,
'debug' => false,
Expand Down

0 comments on commit d79f2fc

Please sign in to comment.