@@ -14,8 +14,8 @@ Tag Name Usage
14
14
`auto_alias `_ Define aliases based on the value of container parameters
15
15
`console.command `_ Add a command
16
16
`container.hot_path `_ Add to list of always needed services
17
- `container.no_preload `_ Remove a class from the list of classes to preload by PHP
18
- `container.preload `_ Add some class to the list of classes to preload by PHP
17
+ `container.no_preload `_ Remove a class from the list of classes preloaded by PHP
18
+ `container.preload `_ Add some class to the list of classes preloaded by PHP
19
19
`controller.argument_value_resolver `_ Register a value resolver for controller arguments such as ``Request ``
20
20
`data_collector `_ Create a class that collects custom data for the profiler
21
21
`doctrine.event_listener `_ Add a Doctrine event listener
@@ -219,15 +219,14 @@ Use this tag with great caution, you have to be sure that the tagged service is
219
219
container.no_preload
220
220
--------------------
221
221
222
- **Purpose **: Remove a class from the list of classes to preload by PHP
222
+ **Purpose **: Remove a class from the list of classes preloaded by PHP
223
223
224
224
.. versionadded :: 5.1
225
225
226
226
The ``container.no_preload `` tag was introduced in Symfony 5.1.
227
227
228
- When using `PHP class preloading `_, this tag allows you to define that some
229
- class should not be preloaded by PHP. Add this tag to any service and its
230
- related class won't be preloaded:
228
+ Add this tag to a service and its class won't be preloaded when using
229
+ `PHP class preloading `_:
231
230
232
231
.. configuration-block ::
233
232
@@ -266,15 +265,16 @@ related class won't be preloaded:
266
265
container.preload
267
266
-----------------
268
267
269
- **Purpose **: Add some class to the list of classes to preload by PHP
268
+ **Purpose **: Add some class to the list of classes preloaded by PHP
270
269
271
270
.. versionadded :: 5.1
272
271
273
272
The ``container.preload `` tag was introduced in Symfony 5.1.
274
273
275
274
When using `PHP class preloading `_, this tag allows you to define which PHP
276
275
classes should be preloaded. This can improve performance by making some of the
277
- classes used by your service always available for all requests:
276
+ classes used by your service always available for all requests (until the server
277
+ is restarted):
278
278
279
279
.. configuration-block ::
280
280
0 commit comments