Skip to content

Formatting fix and additional example #2636

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

Closed
wants to merge 3 commits into from
Closed
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
5 changes: 3 additions & 2 deletions cookbook/configuration/front_controllers_and_kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ and return the resulting response to the browser.

Because every request is routed through it, the front controller can be
used to perform global initializations prior to setting up the kernel or
to *`decorate`_* the kernel with additional features. Examples include:
to `decorate`_ the kernel with additional features. Examples include:

* Configuring the autoloader or adding additional autoloading mechanisms;
* Adding HTTP level caching by wrapping the kernel with an instance of
:ref:`AppCache<symfony-gateway-cache>`;
* Enabling the :doc:`/components/debug`.
* Enabling (or skipping) the :doc:`ClassCache </cookbook/debugging>`
* Enabling the :doc:`Debug Component </components/debug>`.

The front controller can be chosen by requesting URLs like:

Expand Down