File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,19 @@ Configuration parameters are very common in Symfony applications. Some packages
358
358
even define their own parameters (e.g. when installing the translation package,
359
359
a new ``locale `` parameter is added to the ``config/services.yaml `` file).
360
360
361
+ .. tip ::
362
+
363
+ When working with :ref: `Compiler Passes </service_container/compiler_passes >`,
364
+ you have the possibility to declare parameters that will only be available
365
+ during the container compilation. These parameters will be automatically removed
366
+ from the container once its build is done. To declare parameters only
367
+ available at compile-time, pre-prend their name with a dot ``. `` (for example,
368
+ ``.mailer.transport ``).
369
+
370
+ .. versionadded :: 6.3
371
+
372
+ Parameters only available at compile time were introduced in Symfony 6.3.
373
+
361
374
.. seealso ::
362
375
363
376
Later in this article you can read how to
You can’t perform that action at this time.
0 commit comments