Permalink
Browse files

minor #3890 [Components][HttpFoundation] use a placeholder for the co…

…nstructor arguments (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[Components][HttpFoundation] use a placeholder for the constructor arguments

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets |

As suggested by @wouterj in #3869.

Commits
-------

631d673 use a placeholder for the constructor arguments
  • Loading branch information...
weaverryan committed Aug 16, 2014
2 parents 0da6508 + 631d673 commit 16e346ad07c8139b20bbc10600ceed1563fbe1f2
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 16e346a

Please sign in to comment.