File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ to look like this::
41
41
};
42
42
43
43
So how does this front-controller work? At first, the special
44
- ``autoload_runtime.php `` is automatically created by the Composer plugin in
44
+ ``autoload_runtime.php `` file is automatically created by the Composer plugin in
45
45
the component. This file runs the following logic:
46
46
47
47
#. It instantiates a :class: `Symfony\\ Component\\ Runtime\\ RuntimeInterface `;
@@ -51,6 +51,11 @@ the component. This file runs the following logic:
51
51
#. At last, the Runtime is used to run the application (i.e. calling
52
52
``$kernel->handle(Request::createFromGlobals())->send() ``).
53
53
54
+ .. caution ::
55
+
56
+ If you use the Composer ``--no-scripts `` option, make sure your Composer version
57
+ is ``>=2.1.3 ``; otherwise the ``autoload_runtime.php `` file won't be created.
58
+
54
59
To make a console application, the bootstrap code would look like::
55
60
56
61
#!/usr/bin/env php
You can’t perform that action at this time.
0 commit comments