diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index f9541bd..8e515b0 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -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() diff --git a/Tests/DependencyInjection/ConfigurationTest.php b/Tests/DependencyInjection/ConfigurationTest.php index ce969d2..d1fbae8 100644 --- a/Tests/DependencyInjection/ConfigurationTest.php +++ b/Tests/DependencyInjection/ConfigurationTest.php @@ -31,6 +31,8 @@ public function testSingleClientConfigWithOptions() 'user', 'pass' ], + 'query' => [ + ], 'cert' => 'path/to/cert', 'connect_timeout' => 5, 'debug' => false,