Skip to content

Commit

Permalink
Correct BrowserKitFactory to support the 'http_client_parameters' option
Browse files Browse the repository at this point in the history
  • Loading branch information
BastienGarcia committed Sep 15, 2023
1 parent b1ccaef commit 19d2e00
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ public function supportsJavascript()
*/
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()
;
}

/**
Expand Down

0 comments on commit 19d2e00

Please sign in to comment.