File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -919,16 +919,20 @@ parameters at once by type-hinting any of its constructor arguments with the
919919Using PHP ConfigBuilders
920920------------------------
921921
922- Writing PHP config is sometimes difficult because you end up with large nested arrays
923- and you have no help from your favorite IDE. A way to address this is to use "ConfigBuilders".
924- They are objects that will help you build these arrays.
925-
926922.. versionadded :: 5.3
927923
928- The "ConfigBuilders" was added in Symfony 5.3 as an :doc: `experimental feature </contributing/code/experimental >`.
924+ The "ConfigBuilders" feature was introduced in Symfony 5.3 as an
925+ :doc: `experimental feature </contributing/code/experimental >`.
926+
927+ Writing PHP config is sometimes difficult because you end up with large nested
928+ arrays and you have no autocompletion help from your favorite IDE. A way to
929+ address this is to use "ConfigBuilders". They are objects that will help you
930+ build these arrays.
929931
930- The ConfigBuilders are automatically generated in your ``kernel.build_dir `` for
931- every bundle. By convention they all live in the namespace ``Symfony\Config ``.::
932+ Symfony generates the ConfigBuilder classes automatically in the
933+ :ref: `kernel build directory <configuration-kernel-build-directory >` for all the
934+ bundles installed in your application. By convention they all live in the
935+ namespace ``Symfony\Config ``::
932936
933937 // config/packages/security.php
934938 use Symfony\Config\SecurityConfig;
Original file line number Diff line number Diff line change @@ -103,6 +103,8 @@ the :method:`Symfony\\Component\\HttpKernel\\Kernel::getCacheDir` method. To
103103change this setting, override the ``getCacheDir() `` method to return the correct
104104cache directory.
105105
106+ .. _configuration-kernel-build-directory :
107+
106108Build Directory
107109~~~~~~~~~~~~~~~
108110
@@ -123,7 +125,6 @@ the :method:`Symfony\\Component\\HttpKernel\\Kernel::getBuildDir` method. To
123125change this setting, override the ``getBuildDir() `` method to return the correct
124126build directory.
125127
126-
127128Log Directory
128129~~~~~~~~~~~~~
129130
You can’t perform that action at this time.
0 commit comments