Skip to content

Commit 01e5ba7

Browse files
committed
minor symfony#9153 Fix wrong filename (migo315, javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Fix wrong filename Change doctrine.yaml to framework.yaml. Commits ------- a0566e1 Fixed the config file name for the other config formats too 542ae3d Fix wrong filename
2 parents 155fa2a + a0566e1 commit 01e5ba7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doctrine/pdo_session_storage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ Next, tell Symfony to use your service as the session handler:
7070

7171
.. code-block:: yaml
7272
73-
# config/packages/doctrine.yaml
73+
# config/packages/framework.yaml
7474
framework:
7575
session:
7676
# ...
7777
handler_id: Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler
7878
7979
.. code-block:: xml
8080
81-
<!-- config/packages/doctrine.xml -->
81+
<!-- config/packages/framework.xml -->
8282
<framework:config>
8383
<!-- ... -->
8484
<framework:session handler-id="Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler" cookie-lifetime="3600" auto-start="true"/>
8585
</framework:config>
8686
8787
.. code-block:: php
8888
89-
// config/packages/doctrine.php
89+
// config/packages/framework.php
9090
use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler;
9191
9292
// ...

0 commit comments

Comments
 (0)