Skip to content

Commit 2225a89

Browse files
author
Drak
committed
Minor corrections
1 parent a37021d commit 2225a89

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

cookbook/sessions/proxy_examples.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
Session Proxy Examples
55
----------------------
66

7-
The session proxy mechanism has a variety of uses, in this
8-
example we'll demonstrate two common uses. Rather than injecting
9-
the session handler as normal, you inject the handler into the proxy
10-
and regsiter the proxy with the session::
7+
The session proxy mechanism has a variety of uses, this
8+
example demonstrates two common uses. Rather than injecting
9+
the session handler as normal, a handler is injected into the proxy
10+
and regsitered the proxy with the session::
1111

1212
<?php
1313
use Symfony\Component\HttpFoundation\Session\Session;
@@ -17,8 +17,7 @@ and regsiter the proxy with the session::
1717
$proxy = new YourProxy(new PdoSessionStorage());
1818
$session = new Session(new NativeSessionStorage($proxy));
1919

20-
The example below show should give some ideas for ``YourProxy``.
21-
20+
The examples below show elaborate on two use-cases.
2221

2322
Encryption of Session Data
2423
--------------------------

0 commit comments

Comments
 (0)