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::
4141 };
4242
4343So 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
4545the component. This file runs the following logic:
4646
4747#. It instantiates a :class: `Symfony\\ Component\\ Runtime\\ RuntimeInterface `;
@@ -51,6 +51,11 @@ the component. This file runs the following logic:
5151#. At last, the Runtime is used to run the application (i.e. calling
5252 ``$kernel->handle(Request::createFromGlobals())->send() ``).
5353
54+ .. caution ::
55+
56+ If you use the Composer ``--no-scripts `` option, make sure your Composer version is ``>=2.1.3 ``
57+ or the special autoload file won't be created.
58+
5459To make a console application, the bootstrap code would look like::
5560
5661 #!/usr/bin/env php
You can’t perform that action at this time.
0 commit comments