From 631d673bb59b246691f96c7c5aca676015efd414 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 29 May 2014 17:03:55 +0200 Subject: [PATCH] use a placeholder for the constructor arguments --- components/http_foundation/session_configuration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/http_foundation/session_configuration.rst b/components/http_foundation/session_configuration.rst index bcd992128eb..71584fea7b8 100644 --- a/components/http_foundation/session_configuration.rst +++ b/components/http_foundation/session_configuration.rst @@ -83,7 +83,7 @@ Example usage:: use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage; use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler; - $pdo = new \PDO('mysql:dbname=testdb;host=127.0.0.1'); + $pdo = new \PDO(...); $storage = new NativeSessionStorage(array(), new PdoSessionHandler($pdo)); $session = new Session($storage);