Skip to content

Commit 7ada520

Browse files
committed
Minor tweak
1 parent fe4b95a commit 7ada520

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/runtime.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ 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.
39+
#. The front-controller script (e.g. ``public/index.php``) is included by the
40+
runtime, making it run again. Ensure this doesn't produce any side effects
41+
in your code;
4142
#. The callable (returned by ``public/index.php``) is passed to the Runtime, whose job
4243
is to resolve the arguments (in this example: ``array $context``);
4344
#. Then, this callable is called to get the application (``App\Kernel``);

0 commit comments

Comments
 (0)