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);