@@ -185,20 +185,16 @@ For details on registering your own commands in the service container, read
185
185
container.hot_path
186
186
------------------
187
187
188
- .. versionadded :: 3.4
189
-
190
- The ``container.hot_path `` tag was introduced in Symfony 3.4.
191
-
192
188
**Purpose **: Add to list of always needed services
193
189
194
- This tag identifies the services that are always needed. It is only applied to
195
- a very short list of bootstrapping services (like ``router ``, ``event_dispatcher ``,
196
- ``http_kernel ``, ``request_stack ``, etc.). Then, it is propagated to all dependencies
197
- of these services, with a special case for event listeners, where only listed events
190
+ This tag identifies the services that are always needed. It is only applied to
191
+ a very short list of bootstrapping services (like ``router ``, ``event_dispatcher ``,
192
+ ``http_kernel ``, ``request_stack ``, etc.). Then, it is propagated to all dependencies
193
+ of these services, with a special case for event listeners, where only listed events
198
194
are propagated to their related listeners.
199
195
200
- It will replace, in cache for generated service factories, the PHP autoload by
201
- plain inlined ``include_once ``. The benefit is a complete bypass of the autoloader
196
+ It will replace, in cache for generated service factories, the PHP autoload by
197
+ plain inlined ``include_once ``. The benefit is a complete bypass of the autoloader
202
198
for services and their class hierarchy. The result is as significant performance improvement.
203
199
204
200
Use this tag with great caution, you have to be sure that the tagged service is always used.
0 commit comments