File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,23 @@ Use the ``APP_RUNTIME`` environment variable or by specifying the
9797 }
9898 }
9999
100+ If modifying the runtime class isn't enough, you can create your own runtime template:
101+
102+ .. code-block :: json
103+
104+ {
105+ "require" : {
106+ "..." : " ..."
107+ },
108+ "extra" : {
109+ "runtime" : {
110+ "autoload_template" : " resources/runtime/autoload_runtime.template"
111+ }
112+ }
113+ }
114+
115+ Symfony provides a `runtime template file `_ that you can use to create your own.
116+
100117Using the Runtime
101118-----------------
102119
@@ -472,3 +489,4 @@ The end user will now be able to create front controller like::
472489.. _Swoole : https://openswoole.com/
473490.. _ReactPHP : https://reactphp.org/
474491.. _`PSR-15` : https://www.php-fig.org/psr/psr-15/
492+ .. _`runtime template file` : https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Runtime/Internal/autoload_runtime.template
You can’t perform that action at this time.
0 commit comments