Skip to content

Commit 1e1f012

Browse files
committed
Merge branch '5.1' into 5.2
* 5.1: Listing possible values of storage_id Require preprocessor env name fix used in PHP snippet
2 parents 501ce91 + 571a2e6 commit 1e1f012

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

configuration/env_var_processors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Symfony provides the following env var processors:
396396
// config/packages/framework.php
397397
$container->setParameter('env(PHP_FILE)', '../config/.runtime-evaluated.php');
398398
$container->loadFromExtension('app', [
399-
'auth' => '%env(require:AUTH_FILE)%',
399+
'auth' => '%env(require:PHP_FILE)%',
400400
]);
401401
402402
``env(trim:FOO)``

reference/configuration/framework.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,9 +1448,14 @@ storage_id
14481448

14491449
**type**: ``string`` **default**: ``'session.storage.native'``
14501450

1451-
The service id used for session storage. The ``session.storage`` service
1452-
alias will be set to this service id. This class has to implement
1451+
The service ID used for storing the session. The ``session.storage`` service
1452+
alias will be set to this service. The class has to implement
14531453
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\SessionStorageInterface`.
1454+
To see a list of all available storages, run:
1455+
1456+
.. code-block:: terminal
1457+
1458+
$ php bin/console debug:container session.storage.
14541459
14551460
.. _config-framework-session-handler-id:
14561461

0 commit comments

Comments
 (0)