Merge pull request #23 from BastienGarcia/master

Correct BrowserKitFactory to support the 'http_client_parameters' option
This commit is contained in:
Yozhef
2023-10-03 16:15:12 +03:00
committed by GitHub

View File

@@ -39,6 +39,15 @@ class BrowserKitFactory implements DriverFactory
*/
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()
;
}
/**