Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

PdoSessionStorage - Symfony2.1
  • Loading branch information...
commit c4eca61eec0e4b2ba2d096fe58d97716cd9a6f95 2 parents d8187a5 + 9e74316
@weaverryan weaverryan authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 cookbook/configuration/pdo_session_storage.rst
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.