diff --git a/configuration/external_parameters.rst b/configuration/external_parameters.rst index 5f2cdd3a83b..67598af81c9 100644 --- a/configuration/external_parameters.rst +++ b/configuration/external_parameters.rst @@ -533,6 +533,8 @@ Symfony provides the following env var processors: $container->setParameter('private_key', '%env(default:raw_key:file:PRIVATE_KEY)%'); $container->setParameter('raw_key', '%env(PRIVATE_KEY)%'); + When the fallback parameter is ommited (ie. ``env(default::API_KEY)``), the value retrieved is ``null``. + .. versionadded:: 4.3 The ``default`` processor was introduced in Symfony 4.3.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: