Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8f52a21

Browse filesBrowse 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
Copy full SHA for 8f52a21

File tree

Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-2
lines changed

‎bundles/configuration.rst

Copy file name to clipboardExpand all lines: bundles/configuration.rst
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.