8000 minor #22347 [FrameworkBundle] Add autowiring alias for Stopwatch (BP… · symfony/symfony@f33b19c · GitHub
[go: up one dir, main page]

Skip to content

Commit f33b19c

Browse files
committed
minor #22347 [FrameworkBundle] Add autowiring alias for Stopwatch (BPScott)
This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle] Add autowiring alias for Stopwatch | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Following in the footsteps of #22098 to add aliases for various services, this adds an alias for `Symfony\Component\Stopwatch\Stopwatch`. Commits ------- 707f74b [FrameworkBundle] Add autowiring alias for Stopwatch
2 parents 7b8409a + 707f74b commit f33b19c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/debug_prod.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
</service>
2323

2424
<service id="debug.stopwatch" class="Symfony\Component\Stopwatch\Stopwatch" />
25+
<service id="Symfony\Component\Stopwatch\Stopwatch" alias="debug.stopwatch" public="false" />
2526

2627
<service id="debug.file_link_formatter" class="Symfony\Component\HttpKernel\Debug\FileLinkFormatter" public="false">
2728
<argument>%debug.file_link_format%</argument>

0 commit comments

Comments
 (0)
0