Skip to content

Commit

Permalink
minor #3890 [Components][HttpFoundation] use a placeholder for the co…
Browse files Browse the repository at this point in the history
…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 16e346a
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 16e346a

Please sign in to comment.