D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
tattooscyy
/
api2
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Session
/
Filename :
NullSessionHandler.php
back
Copy
<?php namespace Illuminate\Session; use SessionHandlerInterface; class NullSessionHandler implements SessionHandlerInterface { /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function open($savePath, $sessionName) { return true; } /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function close() { return true; } /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function read($sessionId) { return ''; } /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function write($sessionId, $data) { return true; } /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function destroy($sessionId) { return true; } /** * {@inheritdoc} */ #[\ReturnTypeWillChange] public function gc($lifetime) { return true; } }