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 @@ -376,6 +376,19 @@ Configuration parameters are very common in Symfony applications. Some packages
376
376
even define their own parameters (e.g. when installing the translation package,
377
377
a new ``locale `` parameter is added to the ``config/services.yaml `` file).
378
378
379
+ .. tip ::
380
+
381
+ When working with :ref: `Compiler Passes </service_container/compiler_passes >`,
382
+ you have the possibility to declare parameters that will only be available
383
+ during the container compilation. These parameters will be automatically removed
384
+ from the container once its build is done. To declare parameters only
385
+ available at compile-time, pre-prend their name with a dot ``. `` (for example,
386
+ ``.mailer.transport ``).
387
+
388
+ .. versionadded :: 6.3
389
+
390
+ Parameters only available at compile time were introduced in Symfony 6.3.
391
+
379
392
.. seealso ::
380
393
381
394
Later in this article you can read how to
You can’t perform that action at this time.
0 commit comments