Skip to content

Commit 0fba7de

Browse files
committed
Remove references to AppKernel
1 parent 0d2e368 commit 0fba7de

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

configuration/front_controllers_and_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: How the front controller, ``AppKernel`` and environments
2+
single: How the front controller, ``Kernel`` and environments
33
work together
44

55
Understanding how the Front Controller, Kernel and Environments Work together

configuration/multiple_kernels.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ Now you need to define the ``ApiKernel`` class used by the new front controller.
7777
The easiest way to do this is by duplicating the existing ``src/Kernel.php``
7878
file and make the needed changes.
7979

80-
In this example, the ``ApiKernel`` will load less bundles than AppKernel. Be
81-
sure to also change the location of the cache, logs and configuration files so
82-
they don't collide with the files from ``AppKernel``::
80+
In this example, the ``ApiKernel`` will load less bundles than the default
81+
Kernel. Be sure to also change the location of the cache, logs and configuration
82+
files so they don't collide with the files from ``src/Kernel.php``::
8383

8484
// src/ApiKernel.php
8585
use Symfony\Component\HttpKernel\Kernel;

configuration/override_dir_structure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ method in the ``Kernel`` class of your application::
3939
// src/Kernel.php
4040

4141
// ...
42-
class AppKernel extends BaseKernel
42+
class Kernel extends BaseKernel
4343
{
4444
// ...
4545

@@ -72,7 +72,7 @@ method::
7272
// src/Kernel.php
7373

7474
// ...
75-
class AppKernel extends Kernel
75+
class Kernel extends Kernel
7676
{
7777
// ...
7878

configuration/using_parameters_in_dic.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Now, examine the results to see this closely:
5757
<!-- true, as expected -->
5858
5959
<my-bundle:config logging="%kernel.debug%" />
60-
<!-- true/false (depends on 2nd parameter of AppKernel),
60+
<!-- true/false (depends on 2nd parameter of Kernel),
6161
as expected, because %kernel.debug% inside configuration
6262
gets evaluated before being passed to the extension -->
6363
@@ -78,7 +78,7 @@ Now, examine the results to see this closely:
7878
7979
$container->loadFromExtension('my_bundle', array(
8080
'logging' => "%kernel.debug%",
81-
// true/false (depends on 2nd parameter of AppKernel),
81+
// true/false (depends on 2nd parameter of Kernel),
8282
// as expected, because %kernel.debug% inside configuration
8383
// gets evaluated before being passed to the extension
8484
)

deployment.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,9 @@ If your deployment method doesn't use Composer, you may have removed the
225225
The solution is to override the ``getProjectDir()`` method in the application
226226
kernel and return your project's root directory::
227227

228-
// app/AppKernel.php
228+
// src/Kernel.php
229229
// ...
230-
class AppKernel extends Kernel
230+
class Kernel extends BaseKernel
231231
{
232232
// ...
233233

reference/map.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* :doc:`web_profiler </reference/configuration/web_profiler>`
1515
* :doc:`debug </reference/configuration/debug>`
1616
17-
* :doc:`Configuring the Kernel (e.g. AppKernel) </reference/configuration/kernel>`
17+
* :doc:`Configuring the Kernel </reference/configuration/kernel>`
1818
1919
* **Forms and Validation**
2020

0 commit comments

Comments
 (0)