12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <?php
- namespace Symfony\Component\HttpFoundation\Session\Storage\Handler;
- class NullSessionHandler extends AbstractSessionHandler
- {
-
- public function close()
- {
- return true;
- }
-
- public function validateId($sessionId)
- {
- return true;
- }
-
- protected function doRead($sessionId)
- {
- return '';
- }
-
- public function updateTimestamp($sessionId, $data)
- {
- return true;
- }
-
- protected function doWrite($sessionId, $data)
- {
- return true;
- }
-
- protected function doDestroy($sessionId)
- {
- return true;
- }
-
- public function gc($maxlifetime)
- {
- return true;
- }
- }
|