diff --git a/configuration/external_parameters.rst b/configuration/external_parameters.rst index 6afb30e10f9..3d37c83f3b8 100644 --- a/configuration/external_parameters.rst +++ b/configuration/external_parameters.rst @@ -451,6 +451,14 @@ Symfony provides the following env var processors: 'auth' => '%env(file:AUTH_FILE)%', )); +``env(trim:FOO)`` + Trims the content of ``FOO`` env var, removing whitespaces from the beginning + and end of the string. This is especially useful in combination with the + ``file`` processor, as it'll remove newlines at the end of a file. + + .. versionadded:: 4.3 + The ``trim`` processor was introduced in Symfony 4.3. + ``env(key:FOO:BAR)`` Retrieves the value associated with the key ``FOO`` from the array whose contents are stored in the ``BAR`` env var: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy