Merge pull request #23 from BastienGarcia/master
Correct BrowserKitFactory to support the 'http_client_parameters' option
This commit is contained in:
@@ -39,6 +39,15 @@ class BrowserKitFactory implements DriverFactory
|
|||||||
*/
|
*/
|
||||||
public function configure(ArrayNodeDefinition $builder)
|
public function configure(ArrayNodeDefinition $builder)
|
||||||
{
|
{
|
||||||
|
$builder
|
||||||
|
->children()
|
||||||
|
->arrayNode('http_client_parameters')
|
||||||
|
->useAttributeAsKey('key')
|
||||||
|
->prototype('variable')->end()
|
||||||
|
->info('Set parameters on HttpClient (see https://symfony.com/doc/current/reference/configuration/framework.html#http-client)')
|
||||||
|
->end()
|
||||||
|
->end()
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user