diff --git a/components/runtime.rst b/components/runtime.rst index c1588bac187..5c07fdad546 100644 --- a/components/runtime.rst +++ b/components/runtime.rst @@ -101,6 +101,26 @@ Use the ``APP_RUNTIME`` environment variable or by specifying the } } +If modifying the runtime class is not enough, you can always create your own runtime +template: + +.. code-block:: json + + { + "require": { + "...": "..." + }, + "extra": { + "runtime": { + "autoload_template": "resources/runtime/autoload_runtime.template" + } + } + } + +If you want a reference, the The Symfony's runtime can be found at +src/Symfony/Component/Runtime/Internal/autoload_runtime.template(). + + Using the Runtime -----------------