Minor tweak

This commit is contained in:
Javier Eguiluz
2025-05-27 09:11:49 +02:00
parent fe4b95a68e
commit 7ada520c4c

View File

@@ -36,8 +36,9 @@ So how does this front-controller work? At first, the special
the component. This file runs the following logic:
#. It instantiates a :class:`Symfony\\Component\\Runtime\\RuntimeInterface`;
#. The runtime includes the front-controller script -- in this case
``public/index.php`` -- making it run again. Make sure this doesn't cause problems.
#. The front-controller script (e.g. ``public/index.php``) is included by the
runtime, making it run again. Ensure this doesn't produce any side effects
in your code;
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
is to resolve the arguments (in this example: ``array $context``);
#. Then, this callable is called to get the application (``App\Kernel``);