Permalink
Browse files

Merge pull request #1076 from IntoWebDevelopment/5b7ef11-update

PdoSessionStorage - Symfony2.1
  • Loading branch information...
2 parents d8187a5 + 9e74316 commit c4eca61eec0e4b2ba2d096fe58d97716cd9a6f95 @weaverryan weaverryan committed Mar 7, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 cookbook/configuration/pdo_session_storage.rst
@@ -14,6 +14,14 @@ Symfony2 has a built-in solution for database session storage called
To use it, you just need to change some parameters in ``config.yml`` (or the
configuration format of your choice):
+.. versionadded:: 2.1
+ In Symfony2.1 the class and namespace are slightly modified. You can now
+ find the `PdoStorage` class in the `Session\\Storage` namespace. Full
+ version below:
+
+ :class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\PdoStorage`.
+ Also note that you need to swap `%session.storage.options%` with `%pdo.db_options%`.
+
.. configuration-block::
.. code-block:: yaml

0 comments on commit c4eca61

Please sign in to comment.