Created
May 24, 2011 06:52
-
-
Save arghav/988232 to your computer and use it in GitHub Desktop.
PdoSessionStorage with DBAL connection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
pdo.options: [] | |
pdo.db_options: | |
db_table: session | |
services: | |
session.storage.pdo: | |
class: Symfony\Component\HttpFoundation\SessionStorage\PdoSessionStorage | |
arguments: | |
- @doctrine.dbal.default.wrapped_connection | |
- %pdo.options% | |
- %pdo.db_options% | |
doctrine.dbal.default.wrapped_connection: | |
factory_service: doctrine.dbal.default_connection | |
factory_method: getWrappedConnection | |
class: PDO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment