123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
- class NullSessionHandler implements \SessionHandlerInterface
- {
-
- public function open($savePath, $sessionName)
- {
- return true;
- }
-
- public function close()
- {
- return true;
- }
-
- public function read($sessionId)
- {
- return '';
- }
-
- public function write($sessionId, $data)
- {
- return true;
- }
-
- public function destroy($sessionId)
- {
- return true;
- }
-
- public function gc($lifetime)
- {
- return true;
- }
- }
|