8000 minor #7603 Update matchers.rst (atailouloute) · ScreamZ/symfony-docs@98f4b7b · GitHub
[go: up one dir, main page]

Skip to content

Commit 98f4b7b

Browse files
committed
minor symfony#7603 Update matchers.rst (atailouloute)
This PR was merged into the 2.7 branch. Discussion ---------- Update matchers.rst Fix the XML and PHP examples to use the correct framework configuration (As described below) ```yml # profiler configuration profiler: .... matcher: ip: ~ ``` Commits ------- 1e36eab Update matchers.rst
2 parents 355681e + 1e36eab commit 98f4b7b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

profiler/matchers.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ configuration:
4545
4646
<framework:config>
4747
<!-- ... -->
48-
<framework:profiler ip="168.0.0.1" />
48+
<framework:profiler>
49+
<framework:matcher ip="168.0.0.1" />
50+
</framework:profiler>
4951
</framework:config>
5052
</container>
5153
@@ -55,7 +57,9 @@ configuration:
5557
$container->loadFromExtension('framework', array(
5658
// ...
5759
'profiler' => array(
58-
'ip' => '168.0.0.1',
60+
'matcher' => array(
61+
'ip' => '168.0.0.1',
62+
)
5963
),
6064
));
6165

0 commit comments

Comments
 (0)
0