File tree 1 file changed +18
-0
lines changed
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
97
97
}
98
98
}
99
99
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
+
100
117
Using the Runtime
101
118
-----------------
102
119
@@ -472,3 +489,4 @@ The end user will now be able to create front controller like::
472
489
.. _Swoole : https://openswoole.com/
473
490
.. _ReactPHP : https://reactphp.org/
474
491
.. _`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