Allow providing a URL or host and port for client configurations
This commit is contained in:
parent
285e51c04a
commit
bb6a3cf08d
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue