File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ is injected into the proxy and registered with the session storage driver::
10
10
11
11
use Symfony\Component\HttpFoundation\Session\Session;
12
12
use Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage;
13
- use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionStorage ;
13
+ use Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler ;
14
14
15
- $proxy = new YourProxy(new PdoSessionStorage ());
16
- $session = new Session(new NativeSessionStorage($proxy));
15
+ $proxy = new YourProxy(new PdoSessionHandler ());
16
+ $session = new Session(new NativeSessionStorage(array(), $proxy));
17
17
18
18
Below, you'll learn two real examples that can be used for ``YourProxy ``:
19
19
encryption of session data and readonly guest session.
You can’t perform that action at this time.
0 commit comments