Permalink
Browse files

Allow providing a URL or host and port for client configurations

  • Loading branch information...
robinvdvleuten authored and jmikola committed Sep 30, 2012
1 parent 285e51c commit bb6a3cf08d68f375537a0c9381f01193dd71547f
Showing with 3 additions and 2 deletions.
  1. +3 −2 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.