Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb04090

Browse files
committed
minor #7623 Update matchers.rst (atailouloute)
This PR was merged into the 2.7 branch. Discussion ---------- Update matchers.rst Fix wrong configuration examples Commits ------- 9888e15 Update matchers.rst
2 parents 613e5c4 + 9888e15 commit eb04090

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
@@ -183,7 +183,9 @@ profiler to use this service as the matcher:
183183
184184
<framework:config>
185185
<!-- ... -->
186-
<framework:profiler service="app.super_admin_matcher" />
186+
<framework:profiler>
187+
<framework:matcher service="app.super_admin_matcher" />
188+
</framework:profiler>
187189
</framework:config>
188190
</container>
189191
@@ -193,6 +195,8 @@ profiler to use this service as the matcher:
193195
$container->loadFromExtension('framework', array(
194196
// ...
195197
'profiler' => array(
196-
'service' => 'app.super_admin_matcher',
198+
'matcher' => array(
199+
'service' => 'app.super_admin_matcher',
200+
)
197201
),
198202
));

0 commit comments

Comments
 (0)