Skip to content

Commit

Permalink
use a placeholder for the constructor arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed May 29, 2014
1 parent 0649c21 commit 631d673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/http_foundation/session_configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 631d673

Please sign in to comment.