From e368da1915b0bb1567e81f1517ce9b1ed7009aff Mon Sep 17 00:00:00 2001 From: chx Date: Tue, 22 Apr 2025 08:47:55 +0200 Subject: [PATCH] Clarify the code flow a little bit more --- components/runtime.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/runtime.rst b/components/runtime.rst index 4eb75de2a75..336a8573227 100644 --- a/components/runtime.rst +++ b/components/runtime.rst @@ -36,6 +36,8 @@ 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 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``);