Skip to content

Commit d24bb04

Browse files
committed
Minor tweaks
1 parent c42ea17 commit d24bb04

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

configuration/external_parameters.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ Symfony provides the following env var processors:
541541
The ``default`` processor was introduced in Symfony 4.3.
542542

543543
``env(url:FOO)``
544-
Parses an absolute URL and returns its components.
544+
Parses an absolute URL and returns its components as an associative array.
545545

546546
.. code-block:: bash
547547
@@ -557,7 +557,7 @@ Symfony provides the following env var processors:
557557
clients:
558558
default:
559559
hosts:
560-
- { host: '%env(key:host:url:MONGODB_URL)%', port: '%env(key:port:url:MONGODB_URL)%' }
560+
- { host: '%env(key:host:url:MONGODB_URL)%', port: '%env(key:port:url:MONGODB_URL)%' }
561561
username: '%env(key:user:url:MONGODB_URL)%'
562562
password: '%env(key:pass:url:MONGODB_URL)%'
563563
connections:
@@ -606,15 +606,16 @@ Symfony provides the following env var processors:
606606
607607
.. caution::
608608

609-
In order to ease extraction of the resource from the URL, The leading
610-
``/`` is trimed from the ``path`` component.
609+
In order to ease extraction of the resource from the URL, the leading
610+
``/`` is trimmed from the ``path`` component.
611611

612612
.. versionadded:: 4.3
613613

614614
The ``url`` processor was introduced in Symfony 4.3.
615615

616616
``env(query_string:FOO)``
617-
Parses an encoded string as if it were the query string passed via a URL.
617+
Parses the query string part of the given URL and returns its components as
618+
an associative array.
618619

619620
.. code-block:: bash
620621

0 commit comments

Comments
 (0)