File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -360,16 +360,14 @@ a new ``locale`` parameter is added to the ``config/services.yaml`` file).
360360
361361.. tip ::
362362
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 ``).
363+ By convention, parameters whose names start with a dot ``. `` (for example,
364+ ``.mailer.transport ``), are available only during the container compilation.
365+ They are useful when working with :ref: `Compiler Passes </service_container/compiler_passes >`
366+ to declare some temporary parameters that won't be available later in the application.
369367
370368.. versionadded :: 6.3
371369
372- Parameters only available at compile time were introduced in Symfony 6.3.
370+ Compile- time parameters were introduced in Symfony 6.3.
373371
374372.. seealso ::
375373
You can’t perform that action at this time.
0 commit comments