File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -378,9 +378,9 @@ Symfony provides the following env var processors:
378
378
$container->setParameter('env(TRUSTED_HOSTS)', '10.0.0.1,10.0.0.2');
379
379
$framework->trustedHosts(env('TRUSTED_HOSTS')->csv());
380
380
};
381
+
381
382
``env(shuffle:FOO) ``
382
- Randomly shuffles values of ``FOO ``, which is an array.
383
- Usable when combining with other processors, as array is a prerequisite.
383
+ Randomly shuffles values of the ``FOO `` env var, which must be an array.
384
384
385
385
.. configuration-block ::
386
386
@@ -428,9 +428,9 @@ Symfony provides the following env var processors:
428
428
->set(\RedisCluster::class, \RedisCluster::class)->args([null, '%env(shuffle:csv:REDIS_NODES)%']);
429
429
};
430
430
431
- .. versionadded :: 6.2
431
+ .. versionadded :: 6.2
432
432
433
- The ``env(shuffle:...) `` env var processor was introduced in Symfony 6.2.
433
+ The ``env(shuffle:...) `` env var processor was introduced in Symfony 6.2.
434
434
435
435
``env(file:FOO) ``
436
436
Returns the contents of a file whose path is the value of the ``FOO `` env var:
@@ -794,9 +794,9 @@ Symfony provides the following env var processors:
794
794
// config/services.php
795
795
$container->setParameter('typed_env', '%env(enum:App\Enum\Environment:APP_ENV)%');
796
796
797
- .. versionadded :: 6.2
797
+ .. versionadded :: 6.2
798
798
799
- The ``env(enum:...) `` env var processor was introduced in Symfony 6.2.
799
+ The ``env(enum:...) `` env var processor was introduced in Symfony 6.2.
800
800
801
801
It is also possible to combine any number of processors:
802
802
You can’t perform that action at this time.
0 commit comments