mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
Minor tweak
This commit is contained in:
@@ -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``);
|
||||
|
||||
Reference in New Issue
Block a user