Skip to content

Commit 8f52a21

Browse files
committed
minor #12433 Update configuration.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update configuration.rst Fix the wrong PHP config example. Commits ------- c69eab4 Update configuration.rst
2 parents d8f9b70 + c69eab4 commit 8f52a21

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bundles/configuration.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@ allow users to configure it with some configuration that looks like this:
9292
9393
// app/config/config.php
9494
$container->loadFromExtension('acme_social', [
95-
'client_id' => 123,
96-
'client_secret' => 'your_secret',
95+
'twitter' => [
96+
'client_id' => 123,
97+
'client_secret' => 'your_secret',
98+
],
9799
]);
98100
99101
The basic idea is that instead of having the user override individual

0 commit comments

Comments
 (0)