Skip to content

Commit c69eab4

Browse files
authored
Update configuration.rst
1 parent d8f9b70 commit c69eab4

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)