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
-------

707f74b50f [FrameworkBundle] Add autowiring alias for Stopwatch
This commit is contained in:
Fabien Potencier 2017-04-09 07:27:17 -07:00
commit f33b19cc40

View File

@ -22,6 +22,7 @@
</service>
<service id="debug.stopwatch" class="Symfony\Component\Stopwatch\Stopwatch" />
<service id="Symfony\Component\Stopwatch\Stopwatch" alias="debug.stopwatch" public="false" />
<service id="debug.file_link_formatter" class="Symfony\Component\HttpKernel\Debug\FileLinkFormatter" public="false">
<argument>%debug.file_link_format%</argument>