File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ Symfony provides the following env var processors:
541
541
The ``default `` processor was introduced in Symfony 4.3.
542
542
543
543
``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 .
545
545
546
546
.. code-block :: bash
547
547
@@ -557,7 +557,7 @@ Symfony provides the following env var processors:
557
557
clients :
558
558
default :
559
559
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)%' }
561
561
username : ' %env(key:user:url:MONGODB_URL)%'
562
562
password : ' %env(key:pass:url:MONGODB_URL)%'
563
563
connections :
@@ -606,15 +606,16 @@ Symfony provides the following env var processors:
606
606
607
607
.. caution ::
608
608
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.
611
611
612
612
.. versionadded :: 4.3
613
613
614
614
The ``url `` processor was introduced in Symfony 4.3.
615
615
616
616
``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.
618
619
619
620
.. code-block :: bash
620
621
You can’t perform that action at this time.
0 commit comments