Skip to content

Remove references to AppKernel #8790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configuration/front_controllers_and_kernel.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.. index::
single: How the front controller, ``AppKernel`` and environments
single: How the front controller, ``Kernel`` and environments
work together

Understanding how the Front Controller, Kernel and Environments Work together
Expand Down
6 changes: 3 additions & 3 deletions configuration/multiple_kernels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ Now you need to define the ``ApiKernel`` class used by the new front controller.
The easiest way to do this is by duplicating the existing ``src/Kernel.php``
file and make the needed changes.

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

// src/ApiKernel.php
use Symfony\Component\HttpKernel\Kernel;
Expand Down
4 changes: 2 additions & 2 deletions configuration/override_dir_structure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ method in the ``Kernel`` class of your application::
// src/Kernel.php

// ...
class AppKernel extends BaseKernel
class Kernel extends BaseKernel
{
// ...

Expand Down Expand Up @@ -72,7 +72,7 @@ method::
// src/Kernel.php

// ...
class AppKernel extends Kernel
class Kernel extends Kernel
{
// ...

Expand Down
4 changes: 2 additions & 2 deletions configuration/using_parameters_in_dic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Now, examine the results to see this closely:
<!-- true, as expected -->

<my-bundle:config logging="%kernel.debug%" />
<!-- true/false (depends on 2nd parameter of AppKernel),
<!-- true/false (depends on 2nd parameter of Kernel),
as expected, because %kernel.debug% inside configuration
gets evaluated before being passed to the extension -->

Expand All @@ -78,7 +78,7 @@ Now, examine the results to see this closely:

$container->loadFromExtension('my_bundle', array(
'logging' => "%kernel.debug%",
// true/false (depends on 2nd parameter of AppKernel),
// true/false (depends on 2nd parameter of Kernel),
// as expected, because %kernel.debug% inside configuration
// gets evaluated before being passed to the extension
)
Expand Down
4 changes: 2 additions & 2 deletions deployment.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ If your deployment method doesn't use Composer, you may have removed the
The solution is to override the ``getProjectDir()`` method in the application
kernel and return your project's root directory::

// app/AppKernel.php
// src/Kernel.php
// ...
class AppKernel extends Kernel
class Kernel extends BaseKernel
{
// ...

Expand Down
2 changes: 1 addition & 1 deletion reference/map.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* :doc:`web_profiler </reference/configuration/web_profiler>`
* :doc:`debug </reference/configuration/debug>`

* :doc:`Configuring the Kernel (e.g. AppKernel) </reference/configuration/kernel>`
* :doc:`Configuring the Kernel </reference/configuration/kernel>`

* **Forms and Validation**

Expand Down