We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46b6c9f commit a1fdcc8Copy full SHA for a1fdcc8
reference/configuration/kernel.rst
@@ -44,6 +44,11 @@ Kernel Name
44
**type**: ``string`` **default**: ``src`` (i.e. the directory name holding
45
the kernel class)
46
47
+.. versionadded:: 4.2
48
+ The ``kernel.name`` parameter and the ``Kernel::getName()`` method were
49
+ deprecated in Symfony 4.2. If you need a unique ID for your kernels use the
50
+ ``kernel.container_class`` parameter or the ``Kernel::getContainerClass()`` method.
51
+
52
To change this setting, override the :method:`Symfony\\Component\\HttpKernel\\Kernel::getName`
53
method. Alternatively, move your kernel into a different directory. For
54
example, if you moved the kernel into a ``foo/`` directory (instead of ``src/``),
0 commit comments