Skip to content
Browse files

Allow providing a URL or host and port for client configurations

  • Loading branch information...
1 parent 285e51c commit bb6a3cf08d68f375537a0c9381f01193dd71547f @robinvdvleuten robinvdvleuten committed with jmikola
Showing with 3 additions and 2 deletions.
  1. +3 −2 DependencyInjection/Configuration.php
View
5 DependencyInjection/Configuration.php
@@ -46,8 +46,9 @@ private function addClientsSection(ArrayNodeDefinition $rootNode)
->prototype('array')
->performNoDeepMerging()
->children()
- ->scalarNode('host')->defaultValue('localhost')->end()
- ->scalarNode('port')->defaultValue('9000')->end()
+ ->scalarNode('url')->end()
+ ->scalarNode('host')->end()
+ ->scalarNode('port')->end()
->scalarNode('timeout')->end()
->scalarNode('headers')->end()
->end()

0 comments on commit bb6a3cf

Please sign in to comment.
Something went wrong with that request. Please try again.