Skip to content

Commit fe4b95a

Browse files
committed
minor #20909 [Runtime] Clarify the code flow a little bit more (chx)
This PR was submitted for the 7.3 branch but it was merged into the 6.4 branch instead. Discussion ---------- [Runtime] Clarify the code flow a little bit more Just a few words on the code flow and a potential pitfall. Commits ------- f98e8dc Clarify the code flow a little bit more
2 parents f99ea9a + f98e8dc commit fe4b95a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/runtime.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ So how does this front-controller work? At first, the special
3636
the component. This file runs the following logic:
3737

3838
#. It instantiates a :class:`Symfony\\Component\\Runtime\\RuntimeInterface`;
39+
#. The runtime includes the front-controller script -- in this case
40+
``public/index.php`` -- making it run again. Make sure this doesn't cause problems.
3941
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
4042
is to resolve the arguments (in this example: ``array $context``);
4143
#. Then, this callable is called to get the application (``App\Kernel``);

0 commit comments

Comments
 (0)