Correct BrowserKitFactory to support the 'http_client_parameters' option

This commit is contained in:
Bastien GARCIA
2023-09-15 11:52:47 +02:00
parent b1ccaef913
commit 19d2e002d5

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()
;
}
/**