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