Allow providing a URL or host and port for client configurations

This commit is contained in:
Robin van der Vleuten 2012-09-30 19:58:59 +02:00 committed by Jeremy Mikola
parent 285e51c04a
commit bb6a3cf08d

View file

@ -46,8 +46,9 @@ class Configuration
->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()