diff --git a/components/runtime.rst b/components/runtime.rst index fac78dd82dd..7b187acaeee 100644 --- a/components/runtime.rst +++ b/components/runtime.rst @@ -329,6 +329,9 @@ You can also configure ``extra.runtime`` in ``composer.json``: } } +Then, update your Composer files (running ``composer dump-autoload``, for instance), +so that the ``vendor/autoload_runtime.php`` files gets regenerated with the new option. + The following options are supported by the ``SymfonyRuntime``: ``env`` (default: ``APP_ENV`` environment variable, or ``"dev"``) diff --git a/configuration/override_dir_structure.rst b/configuration/override_dir_structure.rst index 73f65c9171f..808fb6f923f 100644 --- a/configuration/override_dir_structure.rst +++ b/configuration/override_dir_structure.rst @@ -49,7 +49,7 @@ define the ``runtime.dotenv_path`` option in the ``composer.json`` file: } } -Then, update your Composer files (running ``composer update``, for instance), +Then, update your Composer files (running ``composer dump-autoload``, for instance), so that the ``vendor/autoload_runtime.php`` files gets regenerated with the new ``.env`` path.