File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -699,8 +699,8 @@ Symfony provides the following env var processors:
699699 ]);
700700
701701 ``env(enum:FooEnum:BAR) ``
702- Tries to convert an environment variable to an actual ``\BackedEnum `` value. This processor takes the fully qualified
703- name of the ``\BackedEnum `` as an argument.
702+ Tries to convert an environment variable to an actual ``\BackedEnum `` value.
703+ This processor takes the fully qualified name of the ``\BackedEnum `` as an argument.
704704
705705 .. code-block :: php
706706
@@ -741,6 +741,10 @@ Symfony provides the following env var processors:
741741 // config/services.php
742742 $container->setParameter('typed_env', '%env(enum:App\Enum\Environment:APP_ENV)%');
743743
744+ .. versionadded :: 6.2
745+
746+ The ``env(enum:...) `` env var processor was introduced in Symfony 6.2.
747+
744748It is also possible to combine any number of processors:
745749
746750.. configuration-block ::
You can’t perform that action at this time.
0 commit comments