Skip to content

Commit

Permalink
Merge pull request #23 from BastienGarcia/master
Browse files Browse the repository at this point in the history
Correct BrowserKitFactory to support the 'http_client_parameters' option
  • Loading branch information
Yozhef authored Oct 3, 2023
2 parents b1ccaef + 19d2e00 commit 18d5a53
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 18d5a53

Please sign in to comment.